David Capello

Results 245 comments of David Capello

I didn't test on Windows yet, but I think it's related to other issue that I forgot in the `Test.lua` file: the `target` field (which is not initialized on the...

Hi @sadovsf, actually this is duplicated of #7. It is already implemented but is not available in the official release yet (will be available in the final v1.2.10). The documentation...

I'll reopen this issue to create a `Dialog:folder()` function 👍

Hi there @SamanthaClarke1, this will be implemented sometime but it's not scheduled (so it's not planned in the short-term). We have plans to work exclusively on v1.3-beta1 and kicking everything...

I'm not sure how this should behave, but it looks like the most expected behavior is that the coordinates should be in sprite coordinates (instead of the specific image coordinates)....

`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

Hi againa @sadovsf, actually for v1.2.10 there are plans to expose the `ExportSpriteSheet` command [like this](https://github.com/aseprite/api/blob/next-version/api/command/ExportSpriteSheet.md#exportspritesheet) which is similar of what you are looking for. It's not the same thing...

Now that I think, [tests](https://github.com/aseprite/tests) are already using the [json.lua](https://github.com/rxi/json.lua) library to check if the export sprite sheet JSON is the expected result: https://github.com/aseprite/tests/blob/0dbe0bdffb0d4d9d8ea979b73b837f14e47b6b5e/cli/sheet.sh#L20

Known issue. At the moment I didn't export the `require()` keyword just for lack of time to learn more about it, but I hope to implement this in the near...

Hi @mishapsi, I'll take a look to the change pixel format without UI. About the ICC problems, [some issues](https://community.aseprite.org/t/errors-with-known-color-profile-srgb/2656) were [solved](https://github.com/aseprite/aseprite/commit/403595223822036cbef9f6697933a0cb27e6ee20) for the next version (v1.2.10). And there will be...