change hue and save

Post questions on how to use or achieve an effect in Inkscape.
98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

change hue and save

Postby 98ds7f98f » Thu Jun 02, 2011 1:53 pm

Why is it when I open this orange folder image and change the hue to a more blue it saves green? Thanks

Screenshot1.png
Screenshot1.png (255.94 KiB) Viewed 3648 times

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

Re: change hue and save

Postby brynn » Fri Jun 03, 2011 3:02 am

Image
Welcome to the forum!

Hhhmmm.....well, I notice that the name of the first (orange) file is very different from the green one. I realize that you might have simply changed the name. But I also want to make sure you're comparing the file you intended to. (No offense intended, but I just like to be clear :D)

Next, I notice in your screenshot that you have the Filter Editor open, so it appears that you're using the Invert Hue filter, and even the Color Matrix primative, to change the color? If I've got all that right, I cannot reproduce the problem.

Would you please tell us your system and version info? Short of learning other as yet unknown info, I"m thinking bug....

98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

Re: change hue and save

Postby 98ds7f98f » Fri Jun 03, 2011 12:28 pm

Correct. Though I don't know what 'Color Matrix' is yet.

Ubuntu 11.04
Inkskape 0.48.1-2ubuntu2

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

Re: change hue and save

Postby brynn » Fri Jun 03, 2011 2:56 pm

Ok thanks :D

I'm on Windows and as I said, can't reproduce it. But others will be along shortly, either with the solution I don't have, and/or to test on Ubuntu.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: change hue and save

Postby ~suv » Fri Jun 03, 2011 6:47 pm

Can you share the original SVG file (attach here or provide a link)?

98ds7f98f wrote:Ubuntu 11.04
Could it be a bug (or limited support for SVG filter effects) in librsvg? Which image viewer (as seen on the screenshot) do you use? Can you view and compare the SVG files in other renderers (e.g. Squiggle, based on Batik)?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: change hue and save

Postby ~suv » Fri Jun 03, 2011 7:12 pm

Reproduced with rsvg-view (librsvg v2.34.0) - compared to Batik (Squiggle 0.18pre) and Inkscape (0.48+devel r10252):
librsvg-disagrees-with-inkscape-and-batik-1.png
librsvg-disagrees-with-inkscape-and-batik-1.png (124.25 KiB) Viewed 3603 times

The problem IMHO is not with Inkscape but with librsvg.

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: change hue and save

Postby ivan louette » Fri Jun 03, 2011 7:41 pm

Perhaps could you use the Tritone filter. It's better if you need to change to a precise color : only click on the Flood name in the tree on the right side of the Filters Editor, then click on the colored rectangle below and select a color with the color selector.

ivan

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: change hue and save

Postby ~suv » Fri Jun 03, 2011 8:07 pm

ivan louette wrote:Perhaps could you use the Tritone filter. (…)
Confirmed, with my example, rsvg-view handles the 'Tritone' filter effect better than the color matrix from 'Invert Hue' (looks the same as in Inkscape).

98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

Re: change hue and save

Postby 98ds7f98f » Sat Jun 04, 2011 2:06 pm

I tried it in Windows and it saved blue the way I wanted it, transfered the svg file over to Ubuntu and it views it green, even the thumbnail views it green. lol

Image viewer: Eye of Gnome 2.32.1

As for the Triton filter with Flood, all I'm getting is a solid square where the image should be. Perhaps I did it wrong?

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: change hue and save

Postby ivan louette » Sat Jun 04, 2011 5:38 pm

98ds7f98f wrote:As for the Triton filter with Flood, all I'm getting is a solid square where the image should be. Perhaps I did it wrong?


It seems you added a Flood to the tree and you didn't change the color of the one which stays already in the tree (between a color matrix and a composite).

98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

Re: change hue and save

Postby 98ds7f98f » Sat Jun 04, 2011 7:33 pm

I get it now.
It now saves to the color it supposed to as shown.
Thanks

98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

Re: change hue and save

Postby 98ds7f98f » Sat Jun 04, 2011 10:06 pm

I actually just noticed that the bottom and right side get cut off a little (see first image - green folder). Any ideas why this is?

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: change hue and save

Postby ivan louette » Sun Jun 05, 2011 5:52 am

98ds7f98f wrote:I actually just noticed that the bottom and right side get cut off a little (see first image - green folder). Any ideas why this is?


You can easily remove this clipping. Click on the Filters general settings tab on the bottom of Filters Editor, increase the size (for example upt o 1.20) and decrease the coordinates (then to -0.10).

98ds7f98f
Posts: 6
Joined: Thu Jun 02, 2011 1:43 pm

Re: change hue and save

Postby 98ds7f98f » Mon Jun 06, 2011 6:17 pm

Here's a comparison of the installed Humanity icons with the changed color.
The top set is the Invert hue (Hue Rotate value: 16). They all show up like they should.
----
The lower set is the Tritone with Flood color #92D2FE (went with a lighter blue for these icons). Notice how most of the icons show up black. :-/

2.jpg
2.jpg (159.03 KiB) Viewed 3494 times

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: change hue and save

Postby ivan louette » Tue Jun 07, 2011 5:28 pm

98ds7f98f wrote:The lower set is the Tritone with Flood color #92D2FE (went with a lighter blue for these icons). Notice how most of the icons show up black. :-/


Are you sure you changed the color only in Tritone ?

When I apply Tritone with your blue as Flood to the whole image I obtain the result below (with Tritone no matter which hue was used in the picture).

On the other hand when using Tritone no violine color could remain as that's the case for the little monitors image on the right in your picture.
Attachments
blueicons.jpg
blueicons.jpg (54.74 KiB) Viewed 3478 times

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

Re: change hue and save

Postby druban » Wed Jun 08, 2011 4:33 am

I am using ie8 to view these and the two images (Ivan's and 98d's) seem almost the same, especially the bottom half! Is that what you were trying to show, Ivan? I may have misunderstood the gist of your explanation...
Your mind is what you think it is.

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: change hue and save

Postby ivan louette » Wed Jun 08, 2011 8:37 am

druban wrote:Ivan? I may have misunderstood the gist of your explanation...


I only pointed that using 98d's blue as the Tritone filter flood should give the first icon set result of my picture and not 97d's second set. And also that any hue should be replaced by this kind of blue.


Return to “Help with using Inkscape”