On 31/12/2025 11:57, Bastien Roucaries wrote:
I think we should add a patchhttps://github.com/NixOS/nixpkgs/pull/472230 I will a breaks on imagemagick side to ease transition if undefined if this feature is used for other purpose than testsuite
I introduced the test a long time ago because people were using gscan2pdf to create PDFs from images with defined resolution but undefined units.
For these people, the resulting PDF will have the wrong size. So no. This is not just about the test suite.For me, the correct solution would be for imagemagick to make an assumption about the units, i.e. ppi, ppmm, or ppcm, rather than throwing away the resolution information completely and therefore assuming 72ppi.
OpenPGP_signature.asc
Description: OpenPGP digital signature

