Hi,

is there a way (in VB.net, actually VB.net for PocketPC) to read chunks from a graphic (bitmap, jpeg) file instead of opening the whole file and assigning it to a bitmap variable ?

So far, I would do :

dim bmpTest as new bitmap("some_file")
dim rect as new rectangle(0, 0, 100, 100)

dim bmpChunk as bitmap
bmpChunk = bmpTest.Clone(rect, ...)

But this DOES get the whole bitmap into memory before chunking it.

The reason should be obvious : in Windows Mobile memory is scarce...