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

API to change Aseprite's supported file open extensions #119

Open
ZeWaka opened this issue Jan 24, 2025 · 1 comment
Open

API to change Aseprite's supported file open extensions #119

ZeWaka opened this issue Jan 24, 2025 · 1 comment

Comments

@ZeWaka
Copy link

ZeWaka commented Jan 24, 2025

In a plugin I maintain, we support a non-standard file extension which is then loaded (by intercepting the file open command), parsed, and properly sent to aseprite as a PNG.
Unfortunately, in the open file dialog, our format is not in the list Aseprite passes to the OS:
Image

Therefore, I'm seeking a way to modify or even just add to this list.
Maybe in app.fs, or even just app.

Just this right here: https://github.com/aseprite/aseprite/blob/main/src/app/file/file.cpp#L189-L197

@dacap
Copy link
Member

dacap commented Jan 24, 2025

Hi @ZeWaka, as part of aseprite/aseprite#1949 we'd like to add some API to register custom file formats. Some possible API was proposed in https://community.aseprite.org/t/registering-new-file-formats-in-extensions/16611

@dacap dacap changed the title [Feature Request] API to change Aseprite's supported file open extensions API to change Aseprite's supported file open extensions Jan 24, 2025
@dacap dacap moved this to Todo in Aseprite v1.3.x Jan 24, 2025
@dacap dacap removed this from Aseprite v1.3.x Jan 24, 2025
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