magick: unable to open image Illegal byte sequence

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
mylastgg
Posts: 7
Joined: 2019-02-15T07:09:18-07:00
Authentication code: 1152

magick: unable to open image Illegal byte sequence

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: magick: unable to open image Illegal byte sequence

Post by fmw42 »

ImageMagick cannot access nor rename layers.
Post Reply