From: "MisterX" <[EMAIL PROTECTED]> Subject: RE: image size limit? To: "'How to use Revolution'" <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii"
How about reading half the image, and assembling after you resize and take a
snapshot?
You can read half the image or by quarters Using a loop and reading the file
the "traditional" way with Open, read, close file...
Just wondering... ;)
The JPEG format is a compressed format, with a header that may or may not contain EXIF information and a thumbnail, followed by the compressed data. You cannot simply open the file, read half of it, and expect it to be half of the picture -- that's not how compression works. You have to find the header, skip the header, and then uncompress it as you read each byte or sequence of bytes.
-- Frank
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution