Hello,

I am attempting to integrate autorotate with Manual Crop, (with s3fs thrown into the mix). Doing so, I am experiencing an issue wherein Manual Crop chooses a cropping area whose x,y beginning dimensions are flipped for images that have been autorotated.

Is there a simple programmatic way to detect within a subsequent action, if an autorotate has occurred? I'll have time to look at later, but thought I'd ask in case it is simple to answer.

Thanks!

Comments

dman’s picture

As it stands, individual actions are atomic, and there is not a lot of contextual info passed around. Each process is independant.
However, we do have a &$data array that gets passed around and could be used for that.

Right now, no, there is no flag, or even reference to the original dimensions, but it would be reasonable to think about adding data into the array there where it could be visible later.

I can't think of a simple alternative way to deal with both autorotate AND manual crop at the same time, sorry.

fietserwin’s picture

Status: Active » Closed (works as designed)

I guess this has been solved by now. Feel free to reopen if not, adding any additional info possible.