In a Basic4PPC program loading a colour picture file of 2592 * 1552 into a BitMapEx results in a OutOfMemoryException. Loading a file of 2048 * 1536 runs fine. (Both cases running on the device; no problem on the PC)
When this occurs opening that same file with the Explorer (the message is still displayed in the Basic4PPC program, so all ressources are still in use) results into a fine picture covering the whole screen. So the Explorer has no memory problems?
Is there really a shortage of memory or another reason for this message?
There are no hard limits except of memory limits. The memory model is pretty complex and there is some limit for each process.
When you open an image with Explorer the image is not fully loaded. Explorer only loads a small portion of the image which is required for showing it on the small screen. This functionality is not available in Basic4ppc (and .Net CF).
It must have to do with a process limit, as there is plenty of RAM available on my device. To solve the 'problem', I simply set the camera to 3M pixels i.s.o. 5M pixels. My (old) eyes do not notice a difference in quality on the device screen.