Size of Image in RAM

Peter Bogdanoff bogdanoff at me.com
Tue Feb 7 23:37:10 EST 2017


I think I can answer the Photoshop question. It seems that 1.6 Mb size is the file size for PS to do its work in the application. If you save that file as a .psd, I suspect you’ll see a file size of 1.6 Mb.

I find the Save for Web dialog (in the File>Export menu) useful. You can choose the file type, compression amount, and see the original and compressed file size there.

Peter
 
> On Feb 7, 2017, at 10:45 PM, Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I'm trying to optimize for Mobile.  Photoshop is playing tricks on me
> 
> given a 38K  jpg;
> 
> rect 3 X 5
> 
> 552px w
> 736 px h
> 72 dpi (irrelevant for screen)
> 
> Open in Photoshop: it indicates 1.16M in RAM, but mode is 8 bit… but
> 
> but the online calculation sites for file size for that rect/bit-depth should make it only take up 398k or so, in RAM.
> 
> If I change the online calculator for that rect to "24 bit" it returns the exactly size  (1.16M) I'm seeing in photoshop…roughly 3X the size of the 8 bit, which is what we would expect.
> 
> So
> 
> 1) Why is Photoshop reporting the files size as if it were 24 bit? and
> 2) Does LC have a function to check the size of an image in terms of RAM consumed? I couldn't find one in the dictionary.
> 
> BR  (thinking about affinity these days!)
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list