y-position of bitmaps (linked or used as patterns) is changed in PDF export

Bug #385267 reported by frsc
This bug report is a duplicate of:  Bug #168275: wrong PDF export with rectangles. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

When exporting 2 rectangles with image pattern or two image objects to PDF their size and/or position is slightly changed.
The attachment contains an example with one picture as a margin and one as content. In the exported PDF file there is a small gap between the top of the margin-image and the top of the content-image.

I used Inkscape 0.46+devel r21448, built May 29 2009

Revision history for this message
frsc (fr-sc) wrote :
description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

could you attach the images fensterrahmen5.tif and x15.JPG ?

Changed in inkscape:
status: New → Incomplete
Revision history for this message
frsc (fr-sc) wrote :

Here is the first one:

Revision history for this message
frsc (fr-sc) wrote :

and the second

Revision history for this message
Alvin Penner (apenner) wrote :

apparently the list of required files is not yet complete, could you also attach the files:
- x59a.png
- fensterrahmen5.jpg
- fensterrahmen5.png
- fensterrahmen5.gif

Revision history for this message
frsc (fr-sc) wrote :

Here they are

Revision history for this message
frsc (fr-sc) wrote :
Revision history for this message
frsc (fr-sc) wrote :
Revision history for this message
frsc (fr-sc) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Confirmed with Inkscape 0.46+devel r22232 on OS X 10.5.8

It seems that the image 'fensterrahmen5.png' (I took the TIF you attached first and converted it to PNG, but that should not make a difference) is moved up 1 px in the PDF, both when inserted as image (xlink:href) and when used as pattern for the rectangle (rect7637): here the pattern is repeated: at the base of the rectangle you see a dark line in the PDF where the top of the image is repeated. The x-position is unchanged.

The inner fill for the window 'x15.JPG' stays at the same x- and y-position in the PDF.

Changed in inkscape:
status: Incomplete → Confirmed
summary: - Rectangles with images and pure images get changed during PDF-Export
+ y-position of bitmaps (linked or used as patterns) is changed in PDF
+ export
tags: added: bitmap import-export
removed: export image
Revision history for this message
su_v (suv-lp) wrote :

related: bug #168275 “wrong PDF export with rectangles”

Revision history for this message
canta7041 (canta7041) wrote :

in the attached svg-file, lines of different colors do not contact. In the exported pdf-file, the orange line between numbers II and III contacts the red line.

Revision history for this message
su_v (suv-lp) wrote :

bug no longer reproduced with Inkscape 0.47+devel r9307.

Linking as duplicate to bug #168275 “wrong PDF export with rectangles” (fixed in r9306). Please add a comment and revert the duplicate status if you don't agree or if you still see this PDF-export error with current 0.47+devel snapshot builds >= r9306.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.