Previous - imgYDPI Section Home - Images Next - imgEXIF


imgSetYDPI ( )

Sets the vertical DPI for the image stored in Rosetta's memory buffer

Usage:

imgSetYDPI (object me, integer newDPI)

Parameters:

newDPI (integer) - sets a new DPI

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\test.jpg" )
xtRose.imgSetYDPI( 72 )

Notes:

DPI information is only applicable to TIFF, JPEG, PNG and BMP formats. Setting this setting will have no effect on other image formats.


Previous - imgYDPI Section Home - Images Next - imgEXIF