aseprite / aseprite/api

Replacing image with Indexed Color Mode results in transparent color being drawn

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
307
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce with Aseprite v1.2.18:
1. Add `NxScale.lua` script to Aseprite.
2. Open `UR64N_N3.aseprite`.
2. Use any scaling algorithm on the image.

Issue:
For scaling a new image is created and the original one is replaced by It. Pixels that were previously transparent are now drawn on the image.

Workaround:
If you save the result and restart Aseprite transparent pixels will be drawn correctly.

[Package.zip](https://github.com/aseprite/api/files/4565994/Package.zip)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.