[SOLVED] Animation file sequence loading error

Animation file sequence loading error:

file_sequence_image 128x72
Error loading frame 2 from file “C:\Users\HAL9000\Downloads\xtest\Bridge_01.png”

How to recreate:

  1. have sequence of pics in a folder named from %name%_00 to %name%_min+3
    (mine were all in .png format)

  2. load them from sequence number 01 to xx = working

  3. load them from sequence number 00 to xx = error

SequenceLoadingError

Aseprite 1.2.35 x64
Windows 10 (x64, latest updates)

hi there! i made some tests and i think the issue here is that the file_00 is in rgb mode, while the rest is in indexed mode, am i right?
at least that’s how i managed to recreate the error.

imho the error message should be more clear stating what is the problem or - ideally - the pop up window should offer to either convert rgb images to indexed or convert indexed images to rgb.

PS. to load the sequence as animation you don’t have to select all the images - just select the first one and aseprite will offer you to import the rest

1 Like

[SOLVED]

Wow you’re right - I did not notice. Thanks for clearing that up. Thanks for the tip!

1 Like

So what? How do I resolve that problem??
I changed my erroring file into the RGB mode and it made no difference.

the files in the sequence you’re importing must be all of same color mode. so if you just changed the destination file, that won’t do help.

Ok. I’ve solved it. Previously, I tried using ImageMagick to batch convert the images, but it failed to convert the colorspace, I have corrected this now as per here.

Command used:
(one file)

magick convert filename.png -colorspace sRGB -type truecolor PNG24:filename.png

(multiple)

magick mogrify *.png -colorspace sRGB -type truecolor PNG24:*.png

to check if it worked:

magick identify filename.png

(or asterisk for everything)