Select to view content in your preferred language

Converting Cell Size to Pixel Dimensions

762
1
04-03-2014 07:16 AM
BradNace
Deactivated User
Hi! I am attempting to cut a 1024x1024 pixel image at the native resolution of the image. In order to do that, I need to know the dimensions of the Clipping Graphic (GraphicSize).

If the projection is in UTM space, the cell size is already in pixels/meters, so the math is fairly easy.

Formula:
GraphicSize = (CellSize *  PixelDimensions)

Example:
512 = (0.5 * 1024)

How will I do that for Decimal Degrees, assuming I cannot convert the layer into UTM space?

Thanks!
0 Kudos
1 Reply
BradNace
Deactivated User
Nevermind! The Clipping graphic actually uses the native units of layer, so no conversion into meters is needed. The formula works for all projections.

Thanks!
0 Kudos