clipboardData & PNG & JPG

Edwin Gore edgore at shinra.com
Wed Jul 2 16:01:00 EDT 2003


>So in reality, the 24
>bit data is not stored
>in the JPEG image.

It is accurate though to say that the memory footprint of an opened jpg file is the same as a 24-bit image of x-width and x-height, even it's not the same data as the original uncompressed (pre-jpeging) image. The jpg is still being expanded to a X by X 24-bit bitmap in memory, the the size concerns remain the same.

I assume that when I copy a jpg-image out fo RunRev that it is basically opening it into memory full size (or RLE encoded, I guess under windows) then it takes that and PNG encodes it, and that is what it makes available through the clipboard. It would be nice to be able to just get the original compressed jpg-data, since I know I have seen jpeg data on the clipboard before (under windows).

Gosh...all this talk of what is actually getting copied and stored inthe clipboard is making me nostalgic for the old Scrapbook on the mac, where you could past things into it and it would list all the data types that were associated with the scrap. Does the mac still have the scrapbook? I couldn't find it last time I was playing with one...if not too bad, that's the one thing that I really ever missed on windows.



More information about the use-livecode mailing list