Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprite:saveCopyAs() inconsistence #62

Open
PKGaspi opened this issue Nov 6, 2021 · 1 comment
Open

Sprite:saveCopyAs() inconsistence #62

PKGaspi opened this issue Nov 6, 2021 · 1 comment

Comments

@PKGaspi
Copy link

PKGaspi commented Nov 6, 2021

When saving a sprite as a .png or .jpg, it creates the output directory if it does not exist already. On the other hand, saving as .gif does not create the output directory, resulting in an error instead.

The function creating the directory for you is very comfortable.

@IgnacioLuxP
Copy link

Same thing happens with .ase/.aseprite files.

As an alternative, you could use https://github.com/aseprite/api/blob/main/api/app_fs.md#appfsmakealldirectories which works great, but it was implemented in a rather recent version. os execute is also kinda limited atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants