aseprite/tests/scripts
Gaspar Capello 5798e27993 Fix mask color turns to opaque on RGBA->INDEXED conversion (fix #4438)
Original issue title: When using a background layer, switching to
Indexed Color Mode fills all layer bounding rectangles with
Color 0.
Conditions to reproduce the original issue:
- Opaque RGBA sprite, i.e. the bottom layer is 'Background'.
- There is a second layer with an ellipse (for example).
- There is a mask color #000000 alpha=0 is in the palette.
- The mask color index is greater and not equal than 0.
- Go to Sprite > Color Mode > Indexed.
Result: the transparent color of the second layer will change to
index color = 0 (usually black).

Also added test for RGBA->INDEXED conversion
2024-09-04 13:48:56 -03:00
..
app_active.lua
app_command.lua Fix exporting a Sprite Sheet with Group name has different functionality between CLI and Scripting (fix #4456) (#4475) 2024-09-03 20:20:36 -03:00
app_fs.lua Allow backslash (\) in filenames on Linux and macOS (fix #3936) 2024-05-08 14:46:16 -03:00
app_pixel_color.lua
app_preferences.lua
app_transaction.lua
brush.lua Add Brush::clone() functions to fix/simplify some Brush-related code 2024-05-03 11:35:36 -03:00
cel.lua
cels.lua
color_convert.lua Fix mask color turns to opaque on RGBA->INDEXED conversion (fix #4438) 2024-09-04 13:48:56 -03:00
color_quantization.lua
color_space.lua
color.lua
compare_sprite_sheets.lua
console_assert.lua
console_print.lua
constants.lua
dialogs.lua Fix Dialog.bounds doesn't work as expected (fix #3898) 2023-11-22 18:22:20 -03:00
drawing.lua
events.lua
frames.lua
image_iterator.lua
image_spec.lua
image.lua Fix doc::blend_image() to support different color modes (fix #4530, fix #4531) 2024-06-11 21:48:57 -03:00
import_sprite_sheet_command.lua
inks.lua [lua] Minor change app.pixelColor -> pc in test 2024-09-03 19:11:14 -03:00
json.lua [lua] Fix crashes setting values out of bounds in JSON objects (fix #4166) 2023-11-30 18:40:02 -03:00
layer.lua
layers.lua
math.lua [lua] Fix bug comparing integers and floating points (fix #4516) 2024-06-03 11:39:16 -03:00
merge_down_bugs.lua Merge remote-tracking branch 'tests/main' 2022-10-25 15:30:38 -03:00
os.lua
paint_bucket.lua
palette.lua
pixel_perfect.lua
point.lua
print_on_gc.lua Merge remote-tracking branch 'tests/main' 2022-10-25 15:30:38 -03:00
range.lua
rectangle.lua
require_module.lua
require.lua
save_file_command.lua [lua] Fix bug comparing integers and floating points (fix #4516) 2024-06-03 11:39:16 -03:00
selection_tools.lua
selection.lua
size.lua
slice.lua
slices.lua
sprite_modified.lua
sprite.lua [lua] Fix bug comparing integers and floating points (fix #4516) 2024-06-03 11:39:16 -03:00
string.lua
tag.lua
tags.lua
test_utils.lua Fix doc::blend_image() to support different color modes (fix #4530, fix #4531) 2024-06-11 21:48:57 -03:00
tiledata.lua
tilemap.lua
tileset.lua
tools.lua
userdata_codec.lua Keep testing loading/saving properties as they are in userdata_codec.lua 2024-02-26 17:44:56 -03:00
userdata.lua [lua] Fix reported crash setting nil as user data (fix #4187) 2023-11-30 16:10:59 -03:00
uuid.lua
version.lua