I found a workaround by using an intermediate file which works with
20.04 and on my 18.04 system.

first crop&co, but output to .gif using:
convert -crop 1200x800+1+1 +repage -rotate 180 -crop +2+1 +repage -rotate -90 
-bordercolor white -border 1x1 -resize 1200 
upsversandauftrag_etikett_1848655-1_test.gif -colorspace Gray -depth 1 -colors 
2 -depth 1 upsversandauftrag_etikett_1848655-1_bw.gif

file upsversandauftrag_etikett_1848655-1_bw.gif 
upsversandauftrag_etikett_1848655-1_bw.gif: GIF image data, version 89a, 1200 x 
1800

then convert the new .gif to pcx using:
convert upsversandauftrag_etikett_1848655-1_bw.gif 
upsversandauftrag_etikett_1848655-1.pcx

file upsversandauftrag_etikett_1848655-1.pcx
upsversandauftrag_etikett_1848655-1.pcx: PCX ver. 3.0 image data bounding box 
[0, 0] - [1199, 1799], 1-bit colour, RLE compressed

-> no clue, why the additional step is necessary, but it fixes the issue for me.
May be the workaround also helps to figure out what changed in imagemagick that 
breaks the direct gif->pcx conversion with the cropping&co.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1932297

Title:
  8:6.9.7.4+dfsg-16ubuntu6.11 break pcx 1bit creation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1932297/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to