Source: imagemagick Version: 8:7.1.2.12+dfsg1-1 Severity: serious Justification: break debci affects: src:gscan2pdf
Behaviour since 7.1.2-9 is to ignore the resolution if the units are undefined, rather than assume one of the likely units.
magick -units Undefined -density 300 xc:white test.jpg
identify -verbose test.jpg
returns
Image:
Filename: test.jpg
Permissions: rw-r--r--
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: PseudoClass
Geometry: 1x1+0+0
Units: Undefined
Colorspace: Gray
Type: Grayscale
Base type: Undefined
Endianness: Undefined
Depth: 12/16-bit
Channels: 2.0
Channel depth:
Gray: 16-bit
Channel statistics:
Pixels: 1
Gray:
min: 4095 (1)
max: 4095 (1)
mean: 4095 (1)
median: 4095 (1)
standard deviation: 0 (0)
kurtosis: 0
skewness: 0
entropy: 0
Colormap entries: 4096
Colormap:
Rendering intent: Undefined
Gamma: 0.454545
Matte color: grey74
Background color: white
Border color: srgb(223,223,223)
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 1x1+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 92
Orientation: Undefined
Properties:
date:create: 2025-12-20T18:23:06+00:00
date:modify: 2025-12-20T18:23:06+00:00
date:timestamp: 2025-12-20T18:23:12+00:00
jpeg:colorspace: 1
jpeg:sampling-factor: 1x1
signature:
ea0eb021dc2ad082eb7325b55ba9a512899156fc727e9c318c8ee581965fd5b0
Artifacts:
verbose: true
Tainted: False
Filesize: 160B
Number pixels: 1
Pixel cache type: Memory
Pixels per second: 4404P
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 7.1.2-9 Q16-HDRI x86_64 5cff2fc4f:20251128
https://imagemagick.org
i.e. the resolution is ignored and therefore 72ppi assumed. In previous versions, this was not the case.
This is a change in the expected behaviour of the tool because of this, gscan2pdf FTBFS.
https://ci.debian.net/packages/g/gscan2pdf/testing/amd64/67393423/ and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124365
OpenPGP_signature.asc
Description: OpenPGP digital signature

