piskelapp / piskel

A simple web-based tool for Spriting and Pixel art.
http://piskelapp.com
Apache License 2.0
10.89k stars 764 forks source link

Desktop version freeze when pasting from other app #1084

Open cgimenez opened 1 year ago

cgimenez commented 1 year ago

I'm unable to copy from another app and paste in Piskel when the original size is higher than the canvas one.

Steps to reproduce the bug

  1. Create a piskel project 16x16 sized
  2. Copy a 24x24 sprite from external app (in my case Apple Preview)
  3. Paste
  4. Resize popup appears
  5. Uncheck "smooth resize".
  6. Check "Import as single image" and enter 16x16 in "resize to"
  7. Click "Next"
  8. A "loading image" message appears but nothing happen

Environment details

Sprite details

Capture d’écran 2023-01-12 à 14 48 23

Note : I've no problem pasting a sprite when sprite and canvas size is the same