Topic on Project:Support desk

Jump to navigation Jump to search

Error creating thumbnail when uploading file.

Summary by T0lk

User installed libjpeg9 libjpeg9-dev

Etaulbee (talkcontribs)

Getting the following error when uploading the file:

Error creating thumbnail: convert: no decode delegate for this image format `JPG' @ error/constitute.c/ReadImage/562. convert: no images defined `/tmp/transform_2ee3f53320dc.jpg' @ error/convert.c/ConvertImageCommand/3282. Error code: 1

File uploads, but trying to clean up the process. Running the latest version of ImageMagick.

Any ideas to clear this error?

Etaulbee (talkcontribs)

Seems to only be with JPG/JPEG that I can tell...

T0lk (talkcontribs)
Bawolff (talkcontribs)

I suspect something is broken with your copy of image magick. It may be missing shared libraries, or for some reason was compiled without JPEG support.

Try installing a new version of image magick. If compiling yourself, ensure jpeg support is enabled.

Etaulbee (talkcontribs)

The image I'm testing is 1825x400 and I believe the default setting is 3500x3500? I installed the latest version of ImageMagick I believe - is there a way to determine if something else needs to be enabled for JPG/JPEG?

Etaulbee (talkcontribs)

I resolved this error by installing libjpeg9 libjpeg9-dev and then recompiling.