nhn / tui.image-editor

🍞🎨 Full-featured photo image editor using canvas. It is really easy, and it comes with great filters.
http://ui.toast.com/tui-image-editor
MIT License
6.98k stars 1.29k forks source link

Crop not persisted #820

Open Rame0ne opened 1 year ago

Rame0ne commented 1 year ago

Describe the bug If you apply a Crop, the cropped Image is not persisted between Tools.

To Reproduce Steps to reproduce the behavior:

  1. Go to Crop
  2. Click on Square
  3. Click on Save
  4. Click on Resize
  5. Size and Image isn't updated

Expected behavior Image should be updated to cropped Version between Tools.

lja1018 commented 1 year ago

@Rame0ne The bug is not reproduced. What kind of bug is it exactly?

Kriesi commented 1 year ago

I can reproduce the issue and have recoreded a scribe: https://scribehow.com/shared/Github_Workflow__TCCREqTVQja3-7xchew8fw

as you can see after cropping to a square the image height and width are not the same and resizing the image causes a distortion. Hope that helps :)

Rame0ne commented 1 year ago

Thank you! Exactly what @Kriesi mentioned

lja1018 commented 1 year ago

@Kriesi @Rame0ne I followed the steps, but the bug is not reproduced. Can you upload a video?