might
Sep 1st, 2001, 01:34 PM
You know, if you scale an image to a bigger size (e.g. with StrechBlt), it deforms. Because StrechBlt scales the image point by point (or pixel by pixel), so the every point of image starts to seem as awarable square, thus the image deforms.
But, if you have transformed an image by scaling in Adobe Photoshop, you know it corrects these deformations (as much as it can) like redrawing the image in the new size. The result is much better than StrechBlt`s.
My question is how can we do this in a VB project, I think an algorithm is required.
If you have an idea for how to do this, would you please share.
Thanks in advance.
But, if you have transformed an image by scaling in Adobe Photoshop, you know it corrects these deformations (as much as it can) like redrawing the image in the new size. The result is much better than StrechBlt`s.
My question is how can we do this in a VB project, I think an algorithm is required.
If you have an idea for how to do this, would you please share.
Thanks in advance.