Sprite:saveCopyAs() inconsistence
Open
- Dominant language
- No language data
- Stars
- 307
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Sprite:saveCopyAs() implementation and compare its handling of .png, .jpg, and .gif output paths. Confirm the expected behavior by reproducing the missing-directory case; done means GIF saves create the output directory consistently with PNG and JPG.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100