Page 1 of 1

magick: unable to open image Illegal byte sequence

Posted: 2019-02-20T01:37:09-07:00
by mylastgg
Hello there!
I'm running the following simple command

magick source.psd -set filename:layers %l %[filename:layers].png

but some .psd source files I'm converting have nonstandard characters in the layer names. This breaks the process with errors like:

magick: unable to open image ‘artist?s brush.png’: Illegal byte sequence @ error/blob.c/OpenBlob/3485.

Is there a way to rename the .psd layers from ImageMagick? We have thousands of .psd files and going through all of them manually to change the non-valid character would be extremely time-consuming

Re: magick: unable to open image Illegal byte sequence

Posted: 2019-03-06T12:57:08-07:00
by fmw42
ImageMagick cannot access nor rename layers.