esimov / caire

Content aware image resize library
MIT License
10.36k stars 384 forks source link

Seams left over on preview debug mode #72

Closed esimov closed 2 years ago

esimov commented 2 years ago

Describe the bug

When the preview and debug mode is activated, in certain cases, mostly when the current seam is overlapping with the previous seam, this is not cleared out and leave some patches behind.

image

esimov commented 2 years ago

I've refactored the code and adopted a different approach, so the seam is no more encoded into the image which is transferred into the GUI app, but instead we are transferring only the seam coordinates. These are shown in a separate process only available for the GUI.