[Bug 1932297] Re: 8:6.9.7.4+dfsg-16ubuntu6.11 break pcx 1bit creation

Marc Deslauriers 1932297 at bugs.launchpad.net
Mon Jun 21 11:43:04 UTC 2021


I can reproduce it on 20.04, but it's not a regression caused by a
security update. This is the original package 20.04 shipped with:

$ dpkg -l | grep imagemagick
ii  imagemagick-6-common                       8:6.9.10.23+dfsg-2.1ubuntu11        all          image manipulation programs -- infrastructure
ii  imagemagick-6.q16                          8:6.9.10.23+dfsg-2.1ubuntu11        amd64        image manipulation programs -- quantum depth Q16

$ 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 -colorspace Gray
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], 3 planes each of 8-bit colour, RLE compressed

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

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

Status in imagemagick package in Ubuntu:
  Incomplete

Bug description:
  Today 8:6.9.7.4+dfsg-16ubuntu6.11 got installed on my server 18.04
  server.

  
  ---
  Start-Date: 2021-06-17  06:26:11
  Commandline: /usr/bin/unattended-upgrade
  Upgrade: imagemagick:amd64 (8:6.9.7.4+dfsg-16ubuntu6.9, 8:6.9.7.4+dfsg-16ubuntu6.11)
  End-Date: 2021-06-17  06:26:14

  Start-Date: 2021-06-17  06:26:19
  Commandline: /usr/bin/unattended-upgrade
  Upgrade: imagemagick-6.q16:amd64 (8:6.9.7.4+dfsg-16ubuntu6.9, 8:6.9.7.4+dfsg-16ubuntu6.11)
  End-Date: 2021-06-17  06:26:23

  Start-Date: 2021-06-17  06:26:27
  Commandline: /usr/bin/unattended-upgrade
  Upgrade: libimage-magick-q16-perl:amd64 (8:6.9.7.4+dfsg-16ubuntu6.9, 8:6.9.7.4+dfsg-16ubuntu6.11)
  End-Date: 2021-06-17  06:26:29

  Start-Date: 2021-06-17  06:26:33
  Commandline: /usr/bin/unattended-upgrade
  Upgrade: libmagick++-6.q16-7:amd64 (8:6.9.7.4+dfsg-16ubuntu6.9, 8:6.9.7.4+dfsg-16ubuntu6.11)
  End-Date: 2021-06-17  06:26:36
  ---

  before the update calling:

  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 -colorspace Gray
  upsversandauftrag_etikett_1848655-1.pcx

  to modify UPS labels to send them to my label printer worked fine.
  file upsversandauftrag_etikett_1848655-1.pcx
  properly returned:
  upsversandauftrag_etikett_1848655-1_mitalterVersion.pcx: PCX ver. 3.0 image data bounding box [0, 0] - [1199, 1799], 1-bit colour, RLE compressed

  now calling the same calls returns a:
  upsversandauftrag_etikett_1848655-1.pcx: PCX ver. 3.0 image data bounding box [0, 0] - [1199, 1799], 3 planes each of 8-bit colour, RLE compressed
  and a file which can't be fed to my label printer.

  
  file size of the old output was 135K, while the new one is 619K.

  Only way to fix this so far was going back to 8:6.9.7.4+dfsg-16ubuntu6
  (8:6.9.7.4+dfsg-16ubuntu6.9 wasn't available) and hold any updates for
  those packages. :/

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



More information about the foundations-bugs mailing list