Inkscape is great! Just finished my master thesis and used it for quite
I had one problem though. I have a drawing with a single image on the
page. Displays fine. When saving this image to EPS, the image would get
a black background. When exporting to PNG and then converting to EPS
(GIMP), all works fine.
You can get a sample here:
Any ideas? Or did I just set a background or anything wrong?
GPG-Key 0xEF37FF28 - 1024/4096 DSA/ELG-E - 16.11.2001
Fingerprint: 3C4B 155F 2621 CEAF D3A6 0CCB 937C 9597 EF37 FF28
Tobias Sager a =E9crit :
>I had one problem though. I have a drawing with a single image on the
>page. Displays fine. When saving this image to EPS, the image would get
>a black background. When exporting to PNG and then converting to EPS
>(GIMP), all works fine.
After wandering around in the sources, it seems PS output (so EPS too)=20
can encapsulate images but currently only R G and B channels=20
since, as read in _Transparency in graphic files_ in Wikipedia=20
we use Level 3 PostScript ( EPS headers are "%!PS-Adobe-3.0 EPSF-3.0",=20
so I think it's level 3), it could be good to look at trying to make the=20
pngs transparency channel available in the PS file.
Level 3 PostScript adds further transparency option for any raster=20
image. A transparent color, or range of colors, can be applied; or a=20
separate 1-bit mask can be used to provide an alpha channel.
Since I think PNG8 only have a single color marked as transparent (as=20
transparent gifs too) this 1-bit mask could work very well for GIFs and=20
for PNG24... hum... I'm not sure it will be possible to do that since=20
they implement a full 256 levels alpha channel if I remember well and a=20
"range of colors" to set as transparent would not be enough... Maybe=20
some ps engine does this well (hacks?), it could be worth checking.