Describe the bug
Using the script to export slices causes the edgemost pixels outside the sprite's non-zero alpha to have corrupted RGB values. This is an issue when applying premultiplied alpha in rendering the exported slices.
To Reproduce
- Download the sprite with slices here: https://drive.google.com/file/d/1VL9wc6WL6vdYmgr4vBl40FI3NwAyiDZQ/view?usp=sharing
- Export the slices of the sprite manually.
- Export the slices of the sprite by using the script
export_slices.
- Observe the RGB values of the two versions, near the visible edges of the exported slices.
- Observe the manually exported slices correctly having zero RGB (0, 0, 0) for zero alpha.
- Observe the scripted exports having non-zero RGB for the same pixels.
Expected behavior
The scripted export should be identical to the manual export in terms of RGB values for the pixels.
Screenshots
System Information:
- Windows 11
- Aseprite version v1.3.7-x64
export_slices
- Script commit: 2424a1f
Additional context
Describe the bug
Using the script to export slices causes the edgemost pixels outside the sprite's non-zero alpha to have corrupted RGB values. This is an issue when applying premultiplied alpha in rendering the exported slices.
To Reproduce
export_slices.Expected behavior
The scripted export should be identical to the manual export in terms of RGB values for the pixels.
Screenshots
System Information:
export_slicesAdditional context