Are there any plans to support embedded bitmaps in inkscape?
I realize that being it an SVG editor (actually it is quickly becomming THESVG editor) it has to follow the standard, however I kind of thought that the compressed file was similar to the OASIS specification in terms of selfcontaining the main SVG vector grapic, plus any bitmaps associated with the file. This could be very helpful especially to share fully editable files as the bitmap path would be included with the file itself. Just a thought, though.
Sure you can always convert bitmaps into vectors and work from there, but the bitmaps->vectors tend to lose quality, not to mention that the file gets really heavy on the computer and actions such simply scrolling (especially on "lower end" machines") can consume a lot of CPU cycles as the vectors are calculated. I also realize that this would be drifting a bit from the SVG specification and may no be what the development team would actually want, but maybe supporting also this kind of behaviour would prove to be beneficial too in the long run... I don't know.
It's just a mere suggestion.
Thetargos wrote:
Are there any plans to support embedded bitmaps in inkscape?
I realize that being it an SVG editor (actually it is quickly becomming THE SVG editor) it has to follow the standard, however I kind of thought that the compressed file was similar to the OASIS specification in terms of selfcontaining the main SVG vector grapic, plus any bitmaps associated with the file. This could be very helpful especially to share fully editable files as the bitmap path would be included with the file itself. Just a thought, though.
Sure you can always convert bitmaps into vectors and work from there, but the bitmaps->vectors tend to lose quality, not to mention that the file gets really heavy on the computer and actions such simply scrolling (especially on "lower end" machines") can consume a lot of CPU cycles as the vectors are calculated. I also realize that this would be drifting a bit from the SVG specification and may no be what the development team would actually want, but maybe supporting also this kind of behaviour would prove to be beneficial too in the long run... I don't know.
It's just a mere suggestion.
Inkscape supports embedded bitmaps but this feature hasn't found its way into the main UI yet. In the meanwhile there is a python extension script and a perl script included with Inkscape for this purpose. You should be able to find more details by searching the mailing list archives.
Aaron Spike
Inkscape supports embedded bitmaps but this feature hasn't found its way into the main UI yet. In the meanwhile there is a python extension script and a perl script included with Inkscape for this purpose. You should be able to find more details by searching the mailing list archives.
Aaron Spike
Thanks a ton, I will search for that, and if I encounter any problems post
back. Thanks again.
On 1/24/06, Aaron and Sarah Spike <spike@...476...> wrote:
Inkscape supports embedded bitmaps but this feature hasn't found its way into the main UI yet. In the meanwhile there is a python extension script and a perl script included with Inkscape for this purpose. You should be able to find more details by searching the mailing list archives.
Aaron Spike
I did not have time to paly with these up until now... I have not been able to find out a way to properly use these scripts, though... How would I go about using them? I found embed_raster_in_svg.pl and embedimage.py; I'll take a look at the mailing list archives, though.
On 1/26/06, Thetargos <thetargos@...155...> wrote:
I did not have time to paly with these up until now... I have not been able to find out a way to properly use these scripts, though... How would I go about using them? I found embed_raster_in_svg.pl and embedimage.py; I'll take a look at the mailing list archives, though.
I found a way to use embed_raster_in_svg.pl (apparently you would have to
copy the script over to the directory you have your images and SVG files in), however I have not found how to use embedimage.py. Guess the only way will be by trial&error or checking the script and see if has some "embedded documentation"
Thetargos wrote:
On 1/26/06, *Thetargos* <thetargos@...155... mailto:thetargos@...155...> wrote:
I did not have time to paly with these up until now... I have not been able to find out a way to properly use these scripts, though... How would I go about using them? I found embed_raster_in_svg.pl and embedimage.py; I'll take a look at the mailing list archives, though.
I found a way to use embed_raster_in_svg.pl (apparently you would have to copy the script over to the directory you have your images and SVG files in), however I have not found how to use embedimage.py. Guess the only way will be by trial&error or checking the script and see if has some "embedded documentation"
Knowing the author of the script, I would assume it lacks documentation. If you follow these directions for activating python effects http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking . you should find an Embed Image item in the effects menu. It will embed all the png and jpg images in the current selection or if there is no selection it will embed any png or jpg images found in the document.
Aaron Spike
On 1/26/06, Aaron and Sarah Spike <spike@...476...> wrote:
Knowing the author of the script, I would assume it lacks documentation. If you follow these directions for activating python effects http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking . you should find an Embed Image item in the effects menu. It will embed all the png and jpg images in the current selection or if there is no selection it will embed any png or jpg images found in the document.
Aaron Spike
Thanks a lot, again, man! I will check those instructions out!
NO WAY!
Thetargos wrote:
On 1/26/06, Aaron and Sarah Spike <spike@...476...> wrote:
Knowing the author of the script, I would assume it lacks documentation. If you follow these directions for activating python effects http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking . you should find an Embed Image item in the effects menu. It will embed all the png and jpg images in the current selection or if there is no selection it will embed any png or jpg images found in the document.
Aaron Spike
Thanks a lot, again, man! I will check those instructions out!
what
zee wrote:
NO WAY!
Thetargos wrote:
On 1/26/06, Aaron and Sarah Spike <spike@...476...> wrote:
Knowing the author of the script, I would assume it lacks documentation. If you follow these directions for activating python effects http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking . you should find an Embed Image item in the effects menu. It will embed all the png and jpg images in the current selection or if there is no selection it will embed any png or jpg images found in the document.
Aaron Spike
Thanks a lot, again, man! I will check those instructions out!
On 1/26/06, Aaron and Sarah Spike <spike@...476...> wrote:
Knowing the author of the script, I would assume it lacks documentation. If you follow these directions for activating python effects http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking . you should find an Embed Image item in the effects menu. It will embed all the png and jpg images in the current selection or if there is no selection it will embed any png or jpg images found in the document.
Aaron Spike
Getting the effects menu to appear did the trick, and the images seem to
be embedded just right. Will keep an eye if there are any problems with the pixmaps. I have only tried to embed jpegs and pngs, as I saw they were the ones supported best in both scripts. I wonder if it could also embed .xpms or other pixmap formats (not layerd, of course!)
On Jan 30, 2006, at 7:23 PM, Thetargos wrote:
Getting the effects menu to appear did the trick, and the images seem to be embedded just right. Will keep an eye if there are any problems with the pixmaps. I have only tried to embed jpegs and pngs, as I saw they were the ones supported best in both scripts. I wonder if it could also embed .xpms or other pixmap formats (not layerd, of course!)
Technically, you can embed whatever you feel like.
Of course, it's up to the rendering software to decide what to do with them. Inkscape just passes on the raw image data to GTK+ and lets it deal with the pixmap and rendering.
"Conforming" viewers need to support png, jpeg and svg in the <image> element. Other things may work, depending on which software is showing it, the OS it is on, and even the version of libs & toolkits. However, to stay the most compatible, stick to just those three.
On 1/30/06, Jon A. Cruz <jon@...204...> wrote:
Technically, you can embed whatever you feel like.
Of course, it's up to the rendering software to decide what to do with them. Inkscape just passes on the raw image data to GTK+ and lets it deal with the pixmap and rendering.
"Conforming" viewers need to support png, jpeg and svg in the <image> element. Other things may work, depending on which software is showing it, the OS it is on, and even the version of libs & toolkits. However, to stay the most compatible, stick to just those three.
Not only does that makes sense, but they're also the most compatible formats, anyway, in the major platforms (Linux, MacOS and Windows), plus .png offers superb quality at good compression ratio, I couldn't say about .tga, .tiff and other "high res" formats, though.
participants (5)
-
Aaron and Sarah Spike
-
dina moshe
-
Jon A. Cruz
-
Thetargos
-
zee