On Sun 08 Mar 2020 at 22:45:12 (+0100), Emanuel Berg wrote: > Has this problem been mentioned in the BTS, you think? I found > this [1] but no one seems to match this situation exactly what > I can see (?) > > Can any of you guys reproduce it? I'm on buster [2] with > imagemagick 6.9 [3]
No. > command: > > convert -composite bg.png fg.png -gravity center out.png For gravity to work, I had to place it first, otherwise I get northwest. I just used a couple of screenshots and a couple of PDFs, placing the smaller on the larger each time. > error message: > > convert-im6.q16: no images defined `comp.png' @ > error/convert.c/ConvertImageCommand/3258. $ convert -gravity center -composite /tmp/bg.png /tmp/fg.png /tmp/out.png $ convert -gravity center -composite /tmp/bg.png /tmp/fg.pdf /tmp/out.png $ convert -gravity center -composite /tmp/bg.pdf /tmp/fg.png /tmp/out.png $ convert -gravity center -composite /tmp/bg.pdf /tmp/fg.pdf /tmp/out.png $ uname -a Linux wren 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" $ convert -version Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib djvu fftw fontconfig freetype heic jbig jng jp2 jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib $ PS your kernel is out-of-date. Cheers, David.