Click here to Skip to main content
15,886,199 members

Comments by KateToo (Top 5 by date)

KateToo 6-Jun-12 13:24pm View    
I'm not ready to go that route. This should be simple, just resizing an image to write it to an AVI file. There must be something I'm doing wrong.
Thanks for trying to help.
KateToo 4-Jun-12 18:04pm View    
Still not following you. I can access the pixels directly, yes - but how do I map from one size to another?
Are there re-sampling functions I'm missing?
All I'm aware are of the StretchBlt and Graphics.DrawImage. Generally StretchBlt works great except for this occasional mirrored image.
KateToo 4-Jun-12 16:10pm View    
I do check the DEST and SOURCE and do not resample if the same.

Can you point me to what functions you mean for the pixel-wise resampling operations?

I'll take a look at artuxsoft, thanks.
KateToo 4-Jun-12 15:08pm View    
I do check the sizes and if they are the same use BitBlt.
What would you suggest for the resampling? Isn't that basically what I'm using StretchBlt for? My work around is actually to use Graphics.DrawImage so I dont need StretchBlt ... but this is too slow.

Please let me know if there is some other way to do the resample that is quick that I'm missing.
Thanks!
KateToo 3-Jun-12 13:22pm View    
I had read that, yes, but it is not the cause.
Those values are never negative, and the exact same values for those, from one image to the next, can result in one of the images having been flipped.