yds12 / tarsila

Pixel art and spritesheet editor
Other
141 stars 7 forks source link

Fix file extension panics #4

Closed quiet-bear closed 1 year ago

quiet-bear commented 1 year ago

Exporting images when there is no extension specified causes the program to panic. There are two fixes I put into place:

This will also help when importing / exporting projects as there is now a file format specified by default (*.tarsila)

yds12 commented 1 year ago

Really awesome, thanks for the contribution! I'm ready to merge it, let me know if you can also add the jpg extensions option.

quiet-bear commented 1 year ago

Filter added. I tried exporting to a JPEG and I'm getting some compression artifacts. I can open a separate issue for that though.

yds12 commented 1 year ago

Strange, what problem do you get? On Linux I'm able to export as JPG (and import).

But yes, let's open that as a separate issue and merge this one.