trouble greyscaling an image

Post questions on how to use or achieve an effect in Inkscape.
spock
Posts: 8
Joined: Fri Nov 04, 2011 11:22 pm

trouble greyscaling an image

Postby spock » Thu Nov 10, 2011 1:24 am

I am having some trouble making an image greyscale. Its an OS map and i dont want the colours to show since i will be highlighting certain areas with transparent colours. I tried Extensions>coulor>greyscale and it said "greyscale working" then the image dissapeared. I have tried to find something under the filter menu but the best i could find is "blueprint" but i dont really want to use this since some of the transparent colours i will be using are blue.

Am i missing something obvious?

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: trouble greyscaling an image

Postby prkos » Thu Nov 10, 2011 2:34 am

Color extensions are supposed to work on vector objects. To handle raster images you need to use the Raster extensions ;)
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

spock
Posts: 8
Joined: Fri Nov 04, 2011 11:22 pm

Re: trouble greyscaling an image

Postby spock » Thu Nov 10, 2011 2:58 am

Could you be a bit more specific on which extension to use? I tried a few but none did anything like greyscaling. I want the colours of the image to be in greyscale. thanks

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: trouble greyscaling an image

Postby prkos » Thu Nov 10, 2011 3:17 am

Ah sorry it's true raster extensions can/should be used on raster images but there doesn't seem to be any desaturation extensions.

You can do this effect though by using filters, select your object and go to Filters > Color > Desaturate.

Don't forget to use the PixelSnap extension or manually snap your image to pixel grid so it's not blurry when exported.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: trouble greyscaling an image

Postby Xav » Thu Nov 10, 2011 3:18 am

There are probably a few different ways to do it, but here are the first couple I stumbled across:

HSB Adjust - set the Saturation to -100
Channel - Depending on the source image and the channel you pick, this may or may not be suitable

You could also use the Desaturate filter (from the Filters menu), or alternatively use an external tool, such as The Gimp, to desaturate the image before you import it into Inkscape.

Edit: Beaten to it on the Desaturate filter ;)
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

spock
Posts: 8
Joined: Fri Nov 04, 2011 11:22 pm

Re: trouble greyscaling an image

Postby spock » Fri Nov 11, 2011 1:11 am

Thanks guys i went down the desaturate filter, cant believe i missed that. Just a question about the pixel snapping, when i apply it it says "pixel snapping working" but afterwards the menu for pixel snap is still shown. Just checking it has indeed pixel snapped since there's no visual sign of the pixel snapping.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: trouble greyscaling an image

Postby druban » Fri Nov 11, 2011 4:40 am

For irregularly shaped objects and objects without a lot of vertical and horizontal lines, pixelsnap will not show much effect, and for raster images the effect will be mostly on the edge. Anyway the effect really is for export purposes, so export a butmap to see the effect before and after.
If you really want to see it on screen, you can make a pixel unit grid and see the object move just a little to line up with the grid.
Your mind is what you think it is.

spock
Posts: 8
Joined: Fri Nov 04, 2011 11:22 pm

Re: trouble greyscaling an image

Postby spock » Mon Nov 14, 2011 12:55 am

Cheers, was just wondering cause in the end i'll be saving as a png file for printing and was wondering if the image would be blurred as prkos said. will pixelsnap anyway to be on the safe side.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: trouble greyscaling an image

Postby brynn » Mon Nov 14, 2011 5:39 pm

I had the impression that pixelsnap was for images used on webpages. Does it really help at all for printed images?


Return to “Help with using Inkscape”