api icon indicating copy to clipboard operation
api copied to clipboard

API to change Aseprite's supported file open extensions

Open ZeWaka opened this issue 11 months ago • 1 comments

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

ZeWaka avatar Jan 24 '25 07:01 ZeWaka

Hi @ZeWaka, as part of https://github.com/aseprite/aseprite/issues/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 avatar Jan 24 '25 16:01 dacap