GIMP export to PDF creates white border line
GIMP version: 2.10.14
Operating System: Windows 10 64 bit
Package: gimp-2.10.14-setup-3.exe
Description of the bug
GIMP Export to PDF creates white border line on exported PDF
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- File New
- No Template; Image Size width 4.04 x height 5.04 in (Black background previously selected)
- Confirm Print Size = 4.04 x 5.04
- Confirm Canvas Size = 4.04 x 5.04
- GIMP is NOT saved yet... still operating off new image
- Export to PDF (Filename: ExportBlackLayer Initial Export without GIMP Save 4.04x4.05.pdf)
- Right and Bottom of PDF edges display white border line in Adobe Acrobat
- In Acrobat, confirm page size = 4.04 x 5.04 in.
- Once I save the image to XCF... without changing anything... GIMP auto-modifies the size to print size 16.83 × 21.00 (Filename: ExportBlackLayertoPDF Initial Save - GIMP AUTO MODIFIES SIZE.xcf)
- Now... If I export that now saved XCF to PDF.. No White lines on right or bottom.. Again, I modified nothing.. just saved the newly created image. (Filename: ExportBlackLayer_-_Exported_AFTER_GIMP_Saved_and_AutoModify_Size.pdf)
- Modify: Image-> Print Size back to 4.04x5.04
- Modify: Image-> Canvas Size back too 4.04x5.04 ...must modify print size first or Canvas Size cant be set past 4.042x5.042
- Re-Export PDF... right and bottom white border lines re-appear (Filename: ExportBlackLayertoPDF_Last_Save_after_reset_of_size.pdf)
ExportBlackLayer_Initial_Export_without_GIMP_Save_4.04x4.05.pdf
ExportBlackLayertoPDF_Initial_Save_-_GIMP_AUTO_MODIFIES_SIZE.xcf
ExportBlackLayer_-_Exported_AFTER_GIMP_Saved_and_AutoModify_Size.pdf
ExportBlackLayertoPDF_Last_Save_after_reset_of_size.pdf
...After more testing... Definitely PRINT/CANVAS/LAYER SIZE dependent... As I work the print/image/layer size down from 16.83 × 21.00... different sizes either have the white line on the right OR the white line on the bottom OR no white lines at all. For example... - 5.5 in x 5.5 in produces white lines on right and bottom - 5.0 in x 5.5 in produces a white line on the bottom only - 4.5 in x 4.5 in produces NO WHITE LINES... wow!!! - 4.04in x 4.5 in produces a white line on the right only - 4.04in x 4.04 in produces a white line both on right and bottom
Then again for the tested size 4.04 x 5.04 = slightly larger white border lines on right and bottom …
Expected result: Solid black pdf; exported properly; no artifacts; white lines, etc at size 4.04x5.04...
Actual result: White border lines on exported pdf from GIMP