Created attachment 1020284 [details]
Image triggering this problem.
Description of problem:
When trying to build mj for rawhide, which includes a use of the program "convert", I get this error in the log:
+ convert WD.xpm -fill chocolate3 -opaque ivory ./--.xpm
convert: not enough pixel data `WD.xpm' @ error/xpm.c/ReadXPMImage/475.
convert: no images defined `./--.xpm' @ error/convert.c/ConvertImageCommand/3212.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. convert WD.xpm -fill chocolate3 -opaque ivory ./--.xpm
The above error message
A generated file "--.xpm", appropriately recolored.
I can reproduce it in a local mock environment. It does seem to be connected to this particular image. Other formats, or other images in XPM format works. But reading this XPM format fails. Also a simple "convert WD.xpm WD.png" fails with the same error message.
The image happens to be monochrome. I'm guessing that is related, but of course, it might be a false lead. I'm attaching the WD.xpm file.
When I run it in my regular environment using ImageMagick-220.127.116.11-9.fc22, the commands work as expected.
I tried your updated ImageMagick-18.104.22.168-2.fc23.x86_64, but it didn't help against this problem.
If you believe this to be a problem in the upstreams ImageMagick and unrelated to the packaging, let me know and I'll make a report in whatever they use.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.
(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)
More information and reason for this action is here:
Thank you very much for the bugreport and willing make free software better.
That issue reported to upstream authors - http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=28649
I'll try follow fixes and push updates when it will be resolved.
And sorry for so late response.
ImageMagick-22.214.171.124-0.beta.4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-e125200b9f
ImageMagick-126.96.36.199-0.beta.4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update ImageMagick'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-e125200b9f
ImageMagick-188.8.131.52-0.beta.4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.