RE: [Gimp-user] Color Reduction with GIMP

2005-02-23 Thread Kalle Ounapuu
Is there an easier way to suggest an improvement to GIMP?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joao S. O.
Bueno Calligaris
Sent: Tuesday, February 22, 2005 1:50 PM
To: gimp-user@lists.xcf.berkeley.edu
Subject: Re: [Gimp-user] Color Reduction with GIMP


On Tuesday 22 February 2005 15:45, Kalle Ounapuu wrote:
> Once a colour would be removed from the palette, the pixels in the
> image should change to the closest matching colour in the palette.
> There would be an algorithm that chooses the replacement colour.
>

Hi -
could you open an enhancement request in 
bugzilla.gnome.org for this?
I believe it has good chances of coming in for GIMP 2.4.


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Color Reduction with GIMP

2005-02-22 Thread Joao S. O. Bueno Calligaris
On Tuesday 22 February 2005 15:45, Kalle Ounapuu wrote:
> Once a colour would be removed from the palette, the pixels in the
> image should change to the closest matching colour in the palette.
> There would be an algorithm that chooses the replacement colour.
>

Hi -
could you open an enhancement request in 
bugzilla.gnome.org for this?
I believe it has good chances of coming in for GIMP 2.4.


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


RE: [Gimp-user] Color Reduction with GIMP

2005-02-22 Thread Kalle Ounapuu
Once a colour would be removed from the palette, the pixels in the image should 
change to the closest matching colour in the palette. There would be an 
algorithm that chooses the replacement colour.

If you have seen Photoshop or Image Ready's "Save For Web" feature, you have 
seen this. You are presented with not only a colour limited (Choose a number 
between 1 and 256), but it displays the entire colour palette and you able to 
manually select colours to LOCK or REMOVE from the palette, and you can see the 
preview of the palette changes on the image before you save.

There's an image browser and batch processor called Web Image Guru by Vimas 
that does this task most excellently. This is what I use on a day to day basis. 
But it isn't a free tool like GIMP is. The other people I work with are very 
interested in using GIMP for all our imaging needs... and it does almost 
everything... except for good colour reduction.


-Original Message-
From: Andreas Waechter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 12:18 PM
To: Kalle Ounapuu
Subject: Re: [Gimp-user] Color Reduction with GIMP


> What I need through GIMP is a way to remove individual 
 > colours from the image dynamically in real-time. For
 > example, I would click one colour to turn it "off" and
 > see the change to the image. If the image isn't
 > severely affected by turning "off" that one colour,
 > then that colour should be removed.

What should happen with the pixels that have the color you 
want to remove?

Should they go transparent?

If so, select by color with threshold set to zero, then 
clear selection.

Should they be replaced by another color?

If so, select by color with threshold set to zero, then fill 
selection with the other color.

Or should something else happen to those pixels? If so, what?

Andreas
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Color Reduction with GIMP

2005-02-22 Thread Joao S. O. Bueno Calligaris
On Tuesday 22 February 2005 14:02, Kalle Ounapuu wrote:
> This method does not deliver what I require. But thank you for
> helping me learn how to manage palette's.
>
> What I need through GIMP is a way to remove individual colours from
> the image dynamically in real-time. For example, I would click one
> colour to turn it "off" and see the change to the image. If the
> image isn't severely affected by turning "off" that one colour,
> then that colour should be removed.
>
> I deal with images that are only 2-64 colours each, and shaving off
> colours is a huge importance to get the filesize down to the
> absolute smallest.
>
> Currently I use Web Image Guru to do this. Great program. But it
> costs money. The programmers I work with are all interested in
> installed GIMP on their machines. So going through GIMP, I haven't
> been able to easily reduce colours of an image on-the-fly.

dialogs->colormap.

I think it was "dialogs->palette" up to GIMP 2.0.

It doesn't allow you to remove colors, but you can change palette 
entries of the active colormap on the fly, and after all redundant 
colors are set to be equal to another existing color, just do the 
mode->rgb, mode->indexed thing.


>
> Thanks
>
>
>
> -Original Message-
> From: Carol Spears [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 21, 2005 5:19 PM
> To: Kalle Ounapuu; GIMPUser
> Subject: Re: [Gimp-user] Color Reduction with GIMP
>
> On Mon, Feb 21, 2005 at 02:53:58PM -0500, Kalle Ounapuu wrote:
> > In GIMP, is there an area where I can lock/remove individual
> > colours in an Indexed colour palette of an image?
> >
> > I was able to see a colour table Dialog in GIMP, where I could
> > edit RGB values and add an additional colour. But I couldn't see
> > anyway to remove colours or lock them from being removed.
>
> if the image is already in Indexed mode, you can import the palette
> directly from the image via the palette palette (Dialogs
> -->Palette). gimp palettes are simple text files and can be edited
> via the palette editor or even directly with a text editor of your
> choice if you can find it in your user directory.
>
> to apply it to your image, change the mode of the image to rgb and
> then index it again using your edited palette.
>
> carol
>
> ___
> Gimp-user mailing list
> Gimp-user@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


RE: [Gimp-user] Color Reduction with GIMP

2005-02-22 Thread Kalle Ounapuu
This method does not deliver what I require. But thank you for helping me learn 
how to manage palette's.

What I need through GIMP is a way to remove individual colours from the image 
dynamically in real-time. For example, I would click one colour to turn it 
"off" and see the change to the image. If the image isn't severely affected by 
turning "off" that one colour, then that colour should be removed.

I deal with images that are only 2-64 colours each, and shaving off colours is 
a huge importance to get the filesize down to the absolute smallest.

Currently I use Web Image Guru to do this. Great program. But it costs money. 
The programmers I work with are all interested in installed GIMP on their 
machines. So going through GIMP, I haven't been able to easily reduce colours 
of an image on-the-fly.

Thanks



-Original Message-
From: Carol Spears [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 5:19 PM
To: Kalle Ounapuu; GIMPUser
Subject: Re: [Gimp-user] Color Reduction with GIMP


On Mon, Feb 21, 2005 at 02:53:58PM -0500, Kalle Ounapuu wrote:
> In GIMP, is there an area where I can lock/remove individual colours in an 
> Indexed colour palette of an image?
> 
> I was able to see a colour table Dialog in GIMP, where I could edit RGB 
> values and add an additional colour. But I couldn't see anyway to remove 
> colours or lock them from being removed.
> 
if the image is already in Indexed mode, you can import the palette
directly from the image via the palette palette (Dialogs -->Palette).
gimp palettes are simple text files and can be edited via the palette
editor or even directly with a text editor of your choice if you can 
find it in your user directory.

to apply it to your image, change the mode of the image to rgb and then
index it again using your edited palette.

carol

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Color Reduction with GIMP

2005-02-21 Thread Carol Spears
On Mon, Feb 21, 2005 at 02:53:58PM -0500, Kalle Ounapuu wrote:
> In GIMP, is there an area where I can lock/remove individual colours in an 
> Indexed colour palette of an image?
> 
> I was able to see a colour table Dialog in GIMP, where I could edit RGB 
> values and add an additional colour. But I couldn't see anyway to remove 
> colours or lock them from being removed.
> 
if the image is already in Indexed mode, you can import the palette
directly from the image via the palette palette (Dialogs -->Palette).
gimp palettes are simple text files and can be edited via the palette
editor or even directly with a text editor of your choice if you can 
find it in your user directory.

to apply it to your image, change the mode of the image to rgb and then
index it again using your edited palette.

carol

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


RE: [Gimp-user] Color Reduction with GIMP

2005-02-21 Thread Kalle Ounapuu
The Select Colour tool isn't really supposed to help you in this fashion.

The Palette dialog does not help either as I do not wish to change my image 
into another colour palette. There does not seem to be a way to import my 
images' colour palette into the Palette dialog, and thus be able to edit that.


Kalle


-Original Message-
From: Alan Horkan [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 3:30 PM
To: Kalle Ounapuu
Cc: gimp-user@lists.xcf.berkeley.edu
Subject: Re: [Gimp-user] Color Reduction with GIMP



On Mon, 21 Feb 2005, Kalle Ounapuu wrote:

> Date: Mon, 21 Feb 2005 14:53:58 -0500
> From: Kalle Ounapuu <[EMAIL PROTECTED]>
> To: gimp-user@lists.xcf.berkeley.edu
> Subject: [Gimp-user] Color Reduction with GIMP
>
> In GIMP, is there an area where I can lock/remove individual colours in
> an Indexed colour palette of an image?

You could try using the Select by Colour tool, it might help give you what
you are looking for.

> I was able to see a colour table Dialog in GIMP, where I could edit RGB
> values and add an additional colour. But I couldn't see anyway to remove
> colours or lock them from being removed.

I think you need the palette editor in this case.
http://docs.gimp.org/en/ch04s13s03.html

> Is there not something like Photoshop's "Save For Web" in GIMP?

There is nothing comparable to Save for Web at least not at the moment:
http://bugzilla.gnome.org/show_bug.cgi?id=98017

Hope that helps

Sincerely

Alan Horkan

Inkscape, Draw Freely  http://inkscape.org
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Color Reduction with GIMP

2005-02-21 Thread Alan Horkan

On Mon, 21 Feb 2005, Kalle Ounapuu wrote:

> Date: Mon, 21 Feb 2005 14:53:58 -0500
> From: Kalle Ounapuu <[EMAIL PROTECTED]>
> To: gimp-user@lists.xcf.berkeley.edu
> Subject: [Gimp-user] Color Reduction with GIMP
>
> In GIMP, is there an area where I can lock/remove individual colours in
> an Indexed colour palette of an image?

You could try using the Select by Colour tool, it might help give you what
you are looking for.

> I was able to see a colour table Dialog in GIMP, where I could edit RGB
> values and add an additional colour. But I couldn't see anyway to remove
> colours or lock them from being removed.

I think you need the palette editor in this case.
http://docs.gimp.org/en/ch04s13s03.html

> Is there not something like Photoshop's "Save For Web" in GIMP?

There is nothing comparable to Save for Web at least not at the moment:
http://bugzilla.gnome.org/show_bug.cgi?id=98017

Hope that helps

Sincerely

Alan Horkan

Inkscape, Draw Freely  http://inkscape.org
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Color Reduction with GIMP

2005-02-21 Thread Kalle Ounapuu
In GIMP, is there an area where I can lock/remove individual colours in an 
Indexed colour palette of an image?

I was able to see a colour table Dialog in GIMP, where I could edit RGB values 
and add an additional colour. But I couldn't see anyway to remove colours or 
lock them from being removed.

Is there not something like Photoshop's "Save For Web" in GIMP?



Kalle

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user