For example, lets say an un-rotated and un-flipped landscape photo has crop coordinates:

crs:CropTop=".3"

crs:CropLeft=".4"

crs:CropBottom=".8"

crs:CropRight=".9"

crs:CropAngle="0"

then one angles it by say 10 degrees. the coordinates change to:

crs:CropTop="0.36916"

crs:CropLeft="0.374965"

crs:CropBottom="0.73084"

crs:CropRight="0.925035"

crs:CropAngle="-10"

What is the formula one needs to apply to arrive at the new top, left, bottom, and right values based on the crop angle change? I assume it involves trigonometry, but so far it has eluded me?

Any mathematicians out there? Adobe??

Knowing this formula will allow me to solve a nagging problem with my XmpCrop plugin.

Thanks,

Rob

crs:CropTop=".3"

crs:CropLeft=".4"

crs:CropBottom=".8"

crs:CropRight=".9"

crs:CropAngle="0"

then one angles it by say 10 degrees. the coordinates change to:

crs:CropTop="0.36916"

crs:CropLeft="0.374965"

crs:CropBottom="0.73084"

crs:CropRight="0.925035"

crs:CropAngle="-10"

What is the formula one needs to apply to arrive at the new top, left, bottom, and right values based on the crop angle change? I assume it involves trigonometry, but so far it has eluded me?

Any mathematicians out there? Adobe??

Knowing this formula will allow me to solve a nagging problem with my XmpCrop plugin.

Thanks,

Rob

Dorin Nicolaescu-Musteață, Champion