-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Some NYPL Stereogranimator images have some amount of rotation applied, exposed in the rotation field in the JSON, e.g. http://stereo.nypl.org/view/89612.json has "rotation":"0.19999999999999998". We should figure out how to take this rotation into account when cropping high-res originals. Presumably we can rotate the thumbnail and original by this amount before applying the rest of the process, but it's a little unclear how the rotation is applied and how it affects the image: What does the value mean (clockwise, counterclockwise, units)? Do we rotate about the center, or a corner? Do the x1,y1,x2,y2 variables still index into a rotated image that has the same dimensions as the original thumbnail image?
Metadata
Metadata
Assignees
Labels
No labels