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
end setJPEGdpi

Dar Scott



_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to