need higher quality stretchblt (downsizing)

I have a bunch of 1000x1000 grayscale images, and I display thumbnails of them by using StretchBlt, setting the mode to HALFTONE. While you can tell what the thumbnails are of, they have, well, sort of a "denim" (yeah, like your jeans) quality/texture look to them which I've been told "is not good enough"

ha! so anyway, I've tried some of the other stretchblt modes and none of them make good looking images (I'm taking them from 1000x1000 down to about 85x85, and even smaller as the number of thumbnails I have to display in the given area increases)

Can somebody recommend an alternative to stretchblt that will give me quality thumbnails?

thanks!
PMH4514Asked:
Who is Participating?
 
grg99Commented:
You need the function DWIWNWCBDBAC(), sometimes known as "Do What I Want, Not What Can BE Done By A Computer".

You're asking a computer to shrink a picture by a factor of 125, but keep the important details.
I suspect that falls into the category of "hard AI".  I'm not sure you could give arbitrary images to,
say a Leo DaVinci and get him to be generate a thumbnail that is "good".

That said, you can eliminate the "jaggies" by filtering the image with a low-pass filter.
Try some of the "demoire" options in your favorite graphics program and see if that helps.
Note that this will smooth things out, making it look a bit better, but the resolution will still be fuzzy compared to the original.
0
 
PMH4514Author Commented:
hah! I get DWIWNWCBDBAC requests daily :)

I can't use graphics editors, I have to do this with code as the user captures images.  problem is, the folks making those requests are aware of what Photoshop and such can do for them off-line. "It's just code right??"

0
 
PMH4514Author Commented:
0
 
PMH4514Author Commented:
well, that codegury article solved my question, but your response made me laugh so I'm going to give you the points :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.