image size and depth
dsc at swcp.com
Sat Aug 7 23:37:02 CDT 2004
On Aug 7, 2004, at 8:21 PM, Chipp Walters wrote:
> To my knowledge, you can't set dpi from within REV. But, as dpi is not
> related to image resolution, you can perhaps actually set it in the
> binary data file.
This handler might do what you suggest. It is completely untested, but
might give an idea of what should be done.
on setJPEGdpi @jpeg, dpi -- dpi less than 256
put numToChar(1) into units -- dots per inch
put numToChar(0) & numToChar(dpi) into encodedDPI
get units & encodedDPI & encodedDPI
put it into char 13 to 17 of jpeg
More information about the use-livecode