set_resolution


Description:

public bool set_resolution (double xresolution, double yresolution)

Sets the specified image's resolution.

This procedure sets the specified image's resolution in dots per inch. This value is independent of any of the layers in this image. No scaling or resizing is performed.

Parameters:

this

The image.

xresolution

The new image resolution in the x-axis, in dots per inch.

yresolution

The new image resolution in the y-axis, in dots per inch.

Returns:

TRUE on success.