White background showing through juxtaposed shapes

Bug #173630 reported by Maarten on 2007-12-03
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

When printing a pdf in inventor (autodesk), pictures are rendered in a grid of blocks. In inkscape there are visible lines between the blocks. In gsview and adobe reader the blocks line up without visible white lines. I have an image showing the problem.

Maarten (m-menheere) wrote :
JiHO (jiho) wrote :

This is confirmed with latest SVN and has been there for a while. Maybe Cairo's renderer would be better?

Changed in inkscape:
status: New → Confirmed
JiHO (jiho) wrote :

This is particularly visible on traced images, in which many shapes are juxtaposed.

Ulferikson (ulferikson) wrote :

Adobe Reader overlaps close objects. We had a bug report on the PDF exporter due to the dark lines visible in Adobe with transparent objects. It seems Inkscape rounds-off in the other direction, showing background between adjacent objects.

The attached file shows 8 rectangles spaced 100px apart. The left four are 100px wide and high, the right ones are 99.9px wide and high. Export to Pdf and compare with the svg at different zoom levels (the lines come and go as you zoom).

Maarten (m-menheere) wrote :

Yes, I get some darker lines with that as well. This is my file. If you save my file using cairo pdf and reopen, the grandient tiles start to get really messy.

nightrow (jb-benoit) on 2007-12-18
Changed in inkscape:
importance: Undecided → High
su_v (suv-lp) wrote :

Duplicate of bug #170356 “Suppress antialiasing artefact at the object boundary”?

ScislaC (scislac) wrote :

Just for the sake of mentioning it. Firefox renders it similarly to Inkscape. Whereas Chrome closes the gaps. I was hoping it could be alleviated by setting image-rendering:optimizeSpeed on the image tiles. When set, the effect is reduced but the gaps are still visible.

su_v (suv-lp) wrote :

1) AFAIU the originally reported issue about rendering gaps on-canvas of imported PDF files which have tiled/sliced bitmap images has three contributing aspects (note: the image rendering modes are only relevant for Inkscape >= 0.91:
* Image rendering mode in PDF (is Interpolation flag set or not?)
* Image rendering mode in SVG (does SVG attribute 'image-rendering' (Inkscape >= 0.91) match the rendering mode as defined in the PDF?) (fixed in r14171)
* Anti-aliasing artifacts in Inkscape's renderer of adjacent edges of objects if not aligned to the pixel grid of the output device (bug #170356)

Current trunk >= r14171 respects the Interpolation flag of the bitmap images in the PDF, and the "blocky" rendering mode prevents partial transparency along the edges of the embedded bitmaps. Turning off antialiasing in 'Document Properties' (new setting in >=0.91 implemented to address bug #170356) makes the remaining "gaps" disappear.

See also another (more recent) test case here:
http://www.inkscapeforum.com/viewtopic.php?t=19133&p=72996#p72996

2) The antialiasing artifacts in the Ladybug example from comment #3 are already tracked in bug #170356.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers