Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #219987

Re: downgrade ghostscript to get convert etc working

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: downgrade ghostscript to get convert etc working
Date 2020-03-09 05:10 +0100
Message-ID <zIhTP-2Fj-1@gated-at.bofh.it> (permalink)
References <zHPNU-1VI-3@gated-at.bofh.it> <zI3e9-1Gc-11@gated-at.bofh.it> <zI3nQ-1Jv-17@gated-at.bofh.it> <zIbY5-74w-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-07 23:10 +0100
  Re: downgrade ghostscript to get convert etc working Jonas Smedegaard <jonas@jones.dk> - 2020-03-08 01:20 +0100
    Re: downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-08 02:40 +0100
      Re: downgrade ghostscript to get convert etc working didier gaumet <didier.gaumet@gmail.com> - 2020-03-08 09:30 +0100
    Re: downgrade ghostscript to get convert etc working Curt <curty@free.fr> - 2020-03-08 10:10 +0100
  Re: downgrade ghostscript to get convert etc working Marco Möller <talby@debianlists.mobilxpress.net> - 2020-03-08 13:30 +0100
    Re: downgrade ghostscript to get convert etc working Jonas Smedegaard <jonas@jones.dk> - 2020-03-08 13:40 +0100
      Re: downgrade ghostscript to get convert etc working Emanuel Berg <moasenwood@zoho.eu> - 2020-03-08 22:50 +0100
        Re: downgrade ghostscript to get convert etc working David Wright <deblis@lionunicorn.co.uk> - 2020-03-09 05:10 +0100

csiph-web