Re: [Inkscape-user] Transparency and printing or pdf export
bulia byak a écrit :
On 7/4/06, Loïc Martin <lomartin3@...155...> wrote:
Ok. I know acroread does "flatten" it - it's quite usefull when the printer don't have a big memory.
So, you may try to export transparent PDF from Inkscape and print it from Acrobat. Whether this will be any better than printing bitmap I cannot say.
Thanks to everybody I was able to print my files with transparency (and still have a few hours of sleep ;) ). There's still the problem of text without transparency but that'll have to do for now (and it could be an acroread bug - evince don't even handle transparency in pdf so I can't check)
I can't print in bitmap because my printer don't like it (not enough memory), that's another reason to use Inkscape over the Gimp!
Doesn't postscript level 3 handle transparency ?
No.
The day they'll add it will be a good day - unless cairo comes to help before (if it's possible to use cairo for printing, that is)
On 7/4/06, Loïc Martin <lomartin3@...155...> wrote:
bulia byak a écrit :
So, you may try to export transparent PDF from Inkscape and print it from Acrobat. Whether this will be any better than printing bitmap I cannot say.
Thanks to everybody I was able to print my files with transparency (and still have a few hours of sleep ;) ). There's still the problem of text without transparency but that'll have to do for now
Currently Inkscape converts text to paths when doing PDF export. It may be that this conversion is buggy in that it loses transparency. You may try to work around that by converting your text to path manually before printing (this will preserve transparency in the resulting path).
Doesn't postscript level 3 handle transparency ?
No.
The day they'll add it will be a good day
I doubt this will ever happen. Postscript is a dead end technology, and it's unlikely it will advance any further. It's being phased out, mostly in favor of PDF.
bulia byak wrote:
On 7/4/06, Loïc Martin <lomartin3@...155...> wrote:
bulia byak a écrit :
So, you may try to export transparent PDF from Inkscape and print it from Acrobat. Whether this will be any better than printing bitmap I cannot say.
Thanks to everybody I was able to print my files with transparency (and still have a few hours of sleep ;) ). There's still the problem of text without transparency but that'll have to do for now
Currently Inkscape converts text to paths when doing PDF export. It may be that this conversion is buggy in that it loses transparency. You may try to work around that by converting your text to path manually before printing (this will preserve transparency in the resulting path).
I did some testing of the PDF export with one of my own images, and there still seem to be some quirks. I've put some example files online:
http://perswww.kuleuven.be/~u0039093/dl/tmp/cellmodel.svg
The resulting PDF:
http://perswww.kuleuven.be/~u0039093/dl/tmp/cellmodel.pdf
Two things to notice:
- transparency is obviously present, but it doesn't correspond to the original image.
- the colors seem to be slightly off (too brownish with regards to the original). Don't know if this is rendering related or caused by the export.
One important thing to add: the small "cell contents" particles are created as Clones, using varying transparency. This variation in transparency is completely absent in the PDF. However, unlinking the clones gives the same result in the exported PDF.
I hope this helps to pinpoint problems in the code...
Regards, Arnout
Arnout Standaert wrote:
- transparency is obviously present, but it doesn't correspond to the
original image.
This looks like bug 1511590 (PDF export omits opacity inherited from parent) http://sourceforge.net/tracker/index.php?func=detail&aid=1511590&gro...
I've got a fix for this in SVN, but it has showed negative side-effects in Bulia's tests.. (it doesn't work at all for him) Feel free to give it a try. Your image exports fine for me.
- the colors seem to be slightly off (too brownish with regards to the
original). Don't know if this is rendering related or caused by the export.
Hmm.. can't find it in the release notes, but it was mentioned from the beginning as a known issue. http://sourceforge.net/tracker/index.php?func=detail&aid=1472677&gro...
Svg and Pdf doesn't use the same colour space. You don't see it for all colours, but often enough to be annoying. I was about to add a simple approximation transform, but Inkscape is moving towards full colour management and ICC profiles. File an RFE if you wish
One important thing to add: the small "cell contents" particles are created as Clones, using varying transparency. This variation in transparency is completely absent in the PDF. However, unlinking the clones gives the same result in the exported PDF.
Try ungrouping all objects.
Ulf Erikson wrote:
Arnout Standaert wrote:
- transparency is obviously present, but it doesn't correspond to the
original image.
This looks like bug 1511590 (PDF export omits opacity inherited from parent) http://sourceforge.net/tracker/index.php?func=detail&aid=1511590&gro...
I've got a fix for this in SVN, but it has showed negative side-effects in Bulia's tests.. (it doesn't work at all for him) Feel free to give it a try. Your image exports fine for me.
Just tried it with build 0607051709, exports fine indeed.
- the colors seem to be slightly off (too brownish with regards to the
original). Don't know if this is rendering related or caused by the export.
Hmm.. can't find it in the release notes, but it was mentioned from the beginning as a known issue. http://sourceforge.net/tracker/index.php?func=detail&aid=1472677&gro...
Svg and Pdf doesn't use the same colour space. You don't see it for all colours, but often enough to be annoying. I was about to add a simple approximation transform, but Inkscape is moving towards full colour management and ICC profiles. File an RFE if you wish.
Yes, sounds like the same issue. I won't file an RFE since it is a minor issue (at least to me), and time is better spent on full colour management indeed.
Regards, and thanks for the information,
Arnout
participants (4)
-
Arnout Standaert
-
bulia byak
-
Loïc Martin
-
Ulf Erikson