Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 286447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:38:14+00:00 2026-05-12T05:38:14+00:00

I have a question, which may be a pipe-dream, but I wanted to know

  • 0

I have a question, which may be a pipe-dream, but I wanted to know if any of my fellow Stack Overflow’ers could help me with.

In the company I work for, we do billions of image manipulations each month. Basically, we take a massive image, slice it into 256 pixels square images, color quantize them and save them as pngs – and move onto the next mammoth image. We employ a number techniques to do this as quickly as possible, and currently it IS very fast, but I think there is a chance we could make it stellar in speed.

The application itself is .Net 2.0, loops through the various bytes in the large image, reading the bytes for each smaller image, and use GDI to save the image after it has run through a quantization algorithm. We have dozens of machines which run this application, and all of them have Nvidia Geforce 8 Video cards (or better).

Is there a way in which I can use the GPU instead of the CPU to perform any or all of the tasks above? If so, how do I do this? Unfortunately I have never coded anything like this before so if anyone can help me, I might need it explained quite thoroughly (and slowly).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:38:14+00:00Added an answer on May 12, 2026 at 5:38 am

    A few technologies to look into:

    1. Windows Imaging Components. this isn’t exactly what you’re after since i don’t think it uses the GPU (although i could be wong) but it should be significantly faster than GDI+.

    2. Direct2D. this does use the GPU for many drawing operations and integrates well with the Windows Imaging Components. but from your description it’s not clear whether the drawing operations optimized by the GPU fit exactly what you need.

    On top of those you can try using pixel shaders for the image manipulation. this is an area I haven’t delved into so i’ll leave it for others to comment.

    To put it another way, Windows Imaging Components should reduce the PNG load/save bottleneck significantly. the operations it provides will probably also help slice the image up in a much more optimal way than GDI+. Direct2D and/or a pixel shader should help with the pixel-level manipulation. the pixel shader should only be needed if there’s no more direct way to do the color quantize operation you need on the images.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an SQL question which may be basic to some but is confusing
I have a question which may be somewhat silly because I'm pretty sure I
I have another Richfaces question which may seem rather weird. I am developing a
This may sound a weird question, I have a page which has a link:
I have a question which I am sure is simple but I have slight
How can i detect external link click? I have a simple question, which may
Short question you guys: I have a PHP string which may or maybe not
I asked a similar question yesterday which may have been poorly worded, either way
Now, I have read these questions which may have a relation with this question:
I have a question which is slightly similar to this question on stackoverflow std::cin.clear()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.