How to properly use Pallete `fromFile`?
Opened this issue · 1 comments
rikashore commented
fromFile
states that it takes a filename, although I am not sure on what its supposed to take, is it a string with the pallete's name or is it a string of the path to the pallete?
dacap commented
fromFile
is a full path/filename (e.g. c:/Users/David/Downloads/mypalette.gpl
).
If you want to load a palette that is displayed in the palette presets popup inside Aseprite, you can use the fromResource
https://github.com/aseprite/api/blob/main/api/palette.md#palette-1