-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
White border added when image spans spread #1083
Comments
Do you have a PDF which we could test? |
Certainly; example.pdf is the input to PDF Arranger. example-001.pdf is the output I'm getting from PDF Arranger after merging the two pages that include the image (ie; pages 2 & 3). |
Thanks. There might be slight math/rounding errors in the placement calculations, but they should be really tiny. Going from float to decimal could maybe improve that somewhat. But mostly I think it is a rendering issue (with viewers which render with poppler?) For example Brave browser, which does not use poppler, doesn't seem the render the line. |
So how can I produce a PDF that doesn't do this? I've never had any issues with InDesign. If PDF Arranger is not capable of producing a seemless merging of pages to spreads, then it's not going to be fit for purpose for us. |
@AussieScorpio You are not a paying customer here and we do not get anything out of you using the software we build as a hobby in our spare time, provided to you free of charge "as is" and without any warranty. With that in mind you may want to reread and rephrase or completely hide your last comment. (This comment can be hidden in turn.) |
I think it could be an aliasing and/or rounding glitch on our side or on the viewers. Gapless
With gap at least on some zoom levels
Importing the PDF in Libreoffice Draw or Gimp shows a different issue: The second page has the same dimensions as the first i.e. it is too small and the image is cut (gimp) or you have two instances of the same full size uncropped image extending out of the page (draw). The latter is probably an issue or missing feature of Draw. If a glitch-free experience is paramount for your purpose I suggest you craft your PDFs in a way that doesn't include cutting the images and putting them back together. |
Don't be so sensitive. And keep in mind that just because there isn't a license payment, doesn't make software "free". There has been a significant investment in time on our side to replace our workflow with open-source solutions (Scribus/PDF Aranger). Attempting to get a straight answer on whether PDF Arranger is capable of creating seamless spreads is an entirely reasonable attempt to avoid expending time and energy on something that will not give us a result. If you want others to respect your time, you should be willing to respect the time of others. I've given a pretty detailed explanation of the issue and provided a minimal example to allow the issue to be reproduced. This was done in good faith in order to help improve PDF Arranger, not just for our benefit, but the benefit of all. |
Thanks for the feedback. Our use case is online rather than print, so we can expect our customers to be using a range of PDF viewers. We're experimenting with generating our documents in HTML which gives us a high degree of control of how it looks in a browser. We will still need to be able to generate PDFs for some users, but perhaps we can use HTML to PDF on a spread by spread basis which takes the merging of pages to spreads out of the equation, and all we need to do is bring the individual spreads into a single document.. |
Some more info:
With gaps:
pdf stitcher also produces a pdf with the same results as above. I haven't found anything in pdfarranger sourcecode which make me think it is a bug/feature in poppler. Some related bug reports on poppler: |
I'd say this is not our bug, thanks for the in depth investigation @kbengs ! |
Describe the bug
My output is from Scribus. My desired final output is for web with facing pages. Scribus does not output a PDF with facing pages as a single spread, hence the need for PDF Arranger. If I have a document with an image that spans two pages of a spread. When I merge those two pages in PDF Arranger, a vertical white line appears down the right side of the left page of the spread. This line appears to be 1px wide and goes straight through the image on the spread. The line is visible in PDF Arranger depending on the zoom level, so it's not something that's introduced at export time.
To Reproduce
Open a PDF with single pages that are intended to be facing pages and where an image spans the two pages of a spread.
Merge the two pages to form a single spread with the image spanning the spread.
Optionally export the result just to prove the line is not to show the page extent while using PDF Arranger.
Expected behavior
The image should appear seemless across the spread.
Input files
I've been able to reproduce this across multiple projects.
Screenshots
System and Versions
PDF Arranger 1.10.1 installed on Ubuntu 22.04 from distro.
It uses libqpdf 11.2.0, pikepdf 7.2.0, GTK 3.24.38 and Python 3.10.12.
The text was updated successfully, but these errors were encountered: