Commit 3ae8877
authored
Add
This PR adds `.units("PixelsPerInch")` to the image generation process to make sure the output images include proper DPI metadata.
Without this, the images don't reflect the density value set in the options. This can cause issues with OCR, printing, or any process that depends on DPI information.
The change is small, safe, and compatible with both ImageMagick and GraphicsMagick..units("PixelsPerInch") to set proper DPI metadata in output images (#229)1 parent dc4f173 commit 3ae8877
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments