Anyone have a clue how to convert an image (bitmap) *inside* inkscape into grayscale/desaturate? Are those extensions scriptable perhaps? \d
Anyone have a clue how to convert an image (bitmap) *inside* inkscape into grayscale/desaturate? You can apply a filter using the color matrix primitive (it has an
Are those extensions scriptable perhaps? I'm not entirely sure what you mean, but there are a couple of options available to you. If you want a standalone script it might be easiest to modify the xml in some way to include the right filter definition and
On 2011-03-11 13:38, donn wrote: option to do this more or less). We also have a ready-made (preset) filter that you can apply through the menu. If you need help figuring this out, have a look at this book for example (chapters 15 and 16 specifically): http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html (It's also available in print btw.) then referencing this. Similarly, you could do this in an Inkscape extension, but I don't think that would have much, if any, advantage over using the preset filter. If you're talking about destructively changing the image from within Inkscape, that goes a bit against the idea of a vector editor, but I guess you could do it.
On 15/03/2011 10:55, Jasper van de Gronde wrote: Jasper, thanks for the info. I didn't grok the difference between extensions and filters. I also did not find the 'desaturate' filter (at the time of the OP) but I found it today. Magic. Extensions->Raster == does stuff to the bitmap and then MAKES A COPY which it then embeds into the file. Filters == adds an XML property that runs stuff but does NOT change the original file. Cool. Thanks. \d
participants (2)
-
donn -
Jasper van de Gronde