Closed will-moore closed 3 years ago
This issue has been mentioned on Image.sc Forum. There might be relevant details there:
https://forum.image.sc/t/omero-figure-box-annotations-rotated-incorrectly/45787/2
One solution might be to create a Polygon when user pastes a Rotated crop region. This would solve the display of it in the Edit tab and it wouldn't be editable. It would also export correctly without any change in the export script.
Works as expected. Tested the described workflow as well as drawing a normal rectangle and rotating the same panel. Both worked.
See https://forum.image.sc/t/omero-figure-box-annotations-rotated-incorrectly/45787
Copy the crop region from a rotated image and paste on it's "parent" image - but the new Rectangle isn't rotated.
Just playing with css tools, a fix can be simulated with a transform of negative rotation and transform-origin. See:
But, we'd need to save this and handle it somehow when Editing the rectangle?