epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
441 stars 158 forks source link

Image Rotation #4904

Open yauhen-karmyzau opened 6 days ago

yauhen-karmyzau commented 6 days ago

As a User, I want the ability to rotate images on the canvas so that I can adjust their orientation to suit my chemical structure diagrams.

Acceptance Criteria:

  1. The selected image should be visibly highlighted or outlined and the Rotate functionality must be visible.
  2. A user should be able to rotate a selected image using a dedicated 'Rotate' option. This could be a rotation slider or an interactive rotation handle on the image.
  3. The application should provide real-time feedback as the user rotates an image, allowing them to adjust the orientation accurately.
  4. After rotating, the image should maintain its new orientation unless the user changes it again.
  5. New orientation must be saveable to supported formats.
  6. Undo/redo actions must be supported.

TBD:

  1. Hot keys support and step-by-step rotation (0-15-30-45-...-90).
  2. UI elements.
yauhen-karmyzau commented 5 days ago

Out of scope