Resize image by file dimension
Posted: Thu Aug 25, 2011 10:11 am
Hello,
I'm wondering if it is possible to resize an image by its file size with Extendscript?
For example:
my original image is a .psd file with this dimension: 11.985.384 bytes
I want to scale it down to, let's say, this dimension: 5.000.000 bytes
Is this possible?
I mean: does exist any sintax in Extendscript that refers to the bytes or something similar?
I use Photoshop CS3, but I think the sintax may be the same also for CS5
Any suggestions would be much appreciated
Thanks in advance
I'm wondering if it is possible to resize an image by its file size with Extendscript?
For example:
my original image is a .psd file with this dimension: 11.985.384 bytes
I want to scale it down to, let's say, this dimension: 5.000.000 bytes
Is this possible?
I mean: does exist any sintax in Extendscript that refers to the bytes or something similar?
I use Photoshop CS3, but I think the sintax may be the same also for CS5
Any suggestions would be much appreciated
Thanks in advance