CImage:WcsToXy


The WcsToXy method converts a world coordinate system position to a pixel coordinate. Note that the image begins at fractional pixel coordinate 0.5.

Syntax

x, y = CImage:WcsToXy( sWorldX, sWorldY )

where

    sWorldX and sWorldY are world coordinates and may be numbers or strings.

    x and y are pixel coordinates in pixel units.

Related Topics

XyToWcs

XyToWcsStr

CImage class

Image Coordinate System

Subpixel Coordinate Definition