Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58689 - [imagemagick] -composite flag fails with "no images defined"

Attached to Project: Arch Linux
Opened by Jim (rhechcapel) - Tuesday, 22 May 2018, 05:14 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 22 May 2018, 05:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
-composite flag fails with the following error:
convert: no images defined `/tmp/screen.png' @ error/convert.c/ConvertImageCommand/3275.

This only started happening with the latest update (Manjaro).

Other commands are still working, for example:

convert "$tmpbg" -scale 10% -scale 1000% "$tmpbg"

Additional info:
* package version(s) ImageMagick 7.0.7-32 Q16 x86_64 2018-05-14
* config and/or log files etc.


Steps to reproduce:
tmpbg='/tmp/screen.png'
scrot "$tmpbg"
convert "$tmpbg" -gravity center -composite -matte "$tmpbg"
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 22 May 2018, 05:20 GMT
Reason for closing:  Not a bug
Comment by Jim (rhechcapel) - Tuesday, 22 May 2018, 05:18 GMT
Sorry - I just realised the -composite flag requires two images to be defined like so:

convert /tmp/1.png /tmp/1.png -gravity center -composite -matte /tmp/out.png

Requesting closure now.

Loading...