View Single Post
  #4 (permalink)  
Old 11-28-2009, 02:10 PM
HARRY HARRY is offline
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Netherlands
Posts: 222
Default

Hi Agraham,

Also in my program that new library works very well. Still I have two questions, just for my understanding:

1) The Load method does not reduce the bitmap, does it? I wonder whether the Load method really will prevent OutOfMemory. In my understanding the size of the JPEG file is not the reason for this message , but the size of the decoded bitmap. The code will try to allocate a block of memory with a size of roughly image width * image height* 3 or 4 bytes. Am I right?

2) The LoadThumbnail method does not read the thumbnail in the JPEG file, but makes a kind of thumbnail. At least if I specify a small width and height. Am I right?

The quality of the image is such good that it can hardly be a blown up version of the thumbnail in the JPEG file, which is not always present anyhow, I believe.

Harry
Reply With Quote