How to compress an image?
-
Hai! I am using the following sorce code to display JPEG images in my Win CE application developed using eVC++ for a pocket PC device. http://www.pocketpcdn.com/articles/jpeglib.html Actually i get a bitmap handle by using the above source code, i display this bitmap handle on my picture control. Actually i am displaying the image with its original size, but i am not able to see the whole image as the size of screen of my WIN CE device is very small, so i want to display compressed image or display the image after reducing its size? Is there any function to do it? Thanks!
-
Hai! I am using the following sorce code to display JPEG images in my Win CE application developed using eVC++ for a pocket PC device. http://www.pocketpcdn.com/articles/jpeglib.html Actually i get a bitmap handle by using the above source code, i display this bitmap handle on my picture control. Actually i am displaying the image with its original size, but i am not able to see the whole image as the size of screen of my WIN CE device is very small, so i want to display compressed image or display the image after reducing its size? Is there any function to do it? Thanks!
My
DLL
[^] performs such task. You may use, as well, theGDI+
for the purpose. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hai! I am using the following sorce code to display JPEG images in my Win CE application developed using eVC++ for a pocket PC device. http://www.pocketpcdn.com/articles/jpeglib.html Actually i get a bitmap handle by using the above source code, i display this bitmap handle on my picture control. Actually i am displaying the image with its original size, but i am not able to see the whole image as the size of screen of my WIN CE device is very small, so i want to display compressed image or display the image after reducing its size? Is there any function to do it? Thanks!
Also StretchBlt[^], which has the advantage of definitely being available of any WInCE build, but the disadvantage of using a lousy resampling algorithm.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p