Inkscape inverts bitmap colors when exporting to PDF

Bug #1696163 reported by Ophir LOJKINE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When opening the attached file and exporting it as a PDF, transparency in bitmaps is not conserved, and colors seem to be inverted.

Revision history for this message
Ophir LOJKINE (pere-jobs) wrote :
Revision history for this message
TylerDurden (8thrule) wrote :

I would suggest not a bug, but the svg is a likely imported from pdf or similar.

Transparency and color are better preserved after un-grouping all objects until no groups remain, before saving as new pdf.

e.g. https://www.dropbox.com/s/4b1nsn5vphphi31/Trans-export.png?dl=0

TD

Revision history for this message
Ophir LOJKINE (pere-jobs) wrote :

How is that not a bug if the exported pdf is incorrect ? Is that a feature that grouped objects are exported with wrong colors ?

Revision history for this message
TylerDurden (8thrule) wrote :

If the file were a native Inkscape svg, I would consider this a likely bug.

However, the provided file has all the attributes of a pdf imported into Inkscape.

Import of foreign filetypes is rarely a perfect conversion. This is true of most software. It is usually suggested to save in a program's native filetype to retain full functionality.

TD

Revision history for this message
Ophir LOJKINE (pere-jobs) wrote :

How the fact that the file was imported from a PDF changes that however inkscape displays a file, it should export it the same way ?

Here, there is clearly a problem in the generated PDF.
The file is an SVG file that complies to the SVG standard, so inkscape should be able to open it, work with it, and export it to another format.

Revision history for this message
Ophir LOJKINE (pere-jobs) wrote :

Here is a cleaned-up version of the original file, that exposes the same problem.

Revision history for this message
Ophir LOJKINE (pere-jobs) wrote :
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.