In article <88845@palm-dev-forum>, [EMAIL PROTECTED] says... > Okay, so if I wanted to treat them as a block of memory I'd have to read > them into main memory first? > > That doesn't seem too bad as long as the JPEGs are relatively small.
One suggestion: use FtrPtrNew() to allocate the memory block to hold you input JPEG buffer. That will let you allocate more than 64K if needed, and you won't be eating dynamic heap, you'll be eating storage heap. The only obstacle is you'll have to read a chunk into main memory, then DmWrite it to the storage heap, but if you use a reasonable buffer, this isn't too bad. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
