Hi!
When I add a indexed png image (256 colors ) to Inkscape it converts the image to 24 bits image.
To be sure, I make a little test, I get the original image, aplply base64 linux tool, open the xml in kate (text editor) and change the image using base64 generated content.
In this way inkscape keep the original 256 colors image in SVG file.
Is there any way to add a embebbed indexed without auto conversion from inkscape?
I think a gonna make a plugin, because I need it.
Something like that in code must do the job:
a = open("indexed_image.png", "rb").read().encode("base64")
Inkscape convert indexed image to 24bits (PNG)
-
- Posts: 2
- Joined: Tue Feb 21, 2012 11:07 am
Re: Inkscape convert indexed image to 24bits (PNG)
I expect Inkscape won't change the file externally link to it (rather than embed). Although that may not suit your needs.