Gimp-Forum.net

Full Version: pdf export cutting off rhs of layer(s)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I'm using GIMP 2.10.36 on win 10. In the past I've exported pdf files OK, but the file I'm working on at the moment the rhs of the layer(s) is truncated, or, rather, seems to be covered over by a rectangle of background colour - the overall width of the document seems to be about what I expected.
Any idea what could be happening here?

Gary
I've investigated a bit and it seems that the layers are not truncated but there is something in the generated file that prevents Microsoft Edge -- my pdf reader -- from rendering the file correctly. It first reports that there is a problem with the file, and doesn't open it. It is when I try to load the file into edge a second time that it appears to have the rhs of the document 'truncated!. However, I've tried to open the file with irfanview and there it does load OK, but of course irfanview is not a good option for viewing pdf files. So I would like to know what gimp is putting (or not putting) into the file that renders it incompatible with MS edge.

I have generated pdfs from gimp before which do not exhibit this problem, and as far as I can think I've produced this one in the same way.
Any suggestions welcome as I spent quite a bit of time producing these files and have several more to do, and I really don't want this happening.
(02-18-2024, 01:59 AM)gary Wrote: [ -> ]Hi
I'm using GIMP 2.10.36 on win 10. In the past I've exported pdf files OK, but the file I'm working on at the moment the rhs of the layer(s) is truncated, or, rather, seems to be covered over by a rectangle of background colour - the overall width of the document seems to be about what I expected.
Any idea what could be happening here?
.....snip....

Difficult to give opinions without seeing the source file. I assume a Gimp .xcf with multiple layers. If it is, are all the layers the same size ? It might be worth using Layer -> Layer to Image Size on small layers.

To be truthful Gimp does not make wonderful PDF's because of internal compression they are on the large file size.

What you can try is with your problem file, do a Layer -> New from Visible and drag that layer into the tool box to open it as a one-layer image. Export that as a PDF and see if it makes any difference. 

You can also use that to compare a single layer PDF with a mult-layer PDF and you should find the file size is smaller with the single layer file.

PDF is just a wrapper, depends on end use but ImageMagick makes PDF from jpegs or other extreme Scribus is the tool if you have a mix of images and text and maybe need CMYK profile. In the middle is LibreOffice which makes good PDF.