Page 1 of 2

Transparency color selection

Posted: Sun Dec 03, 2006 9:51 pm
by mikiqex
Hi, long time ago i suggested cool feature from IrfanView - transparency color selection, before saving GIF, PNG, ICO etc. Answer was it's good improvement, but in beta i wasn't able to find it, so i'd like to remind it :)

It's the same or zoomed picture in special dialog window and using mouse you can choose a color to be transparent. It's much faster than trying what color in pallete is the right one.

It's also possible to use this feature instead "Edit Colormap" dialog window to select transparent color (or whatever).

Thanks.

Re: Transparency color selection

Posted: Mon Dec 04, 2006 8:34 am
by xnview
mikiqex wrote:Hi, long time ago i suggested cool feature from IrfanView - transparency color selection, before saving GIF, PNG, ICO etc. Answer was it's good improvement, but in beta i wasn't able to find it, so i'd like to remind it :)

It's the same or zoomed picture in special dialog window and using mouse you can choose a color to be transparent. It's much faster than trying what color in pallete is the right one.

It's also possible to use this feature instead "Edit Colormap" dialog window to select transparent color (or whatever).
And why Edit colormap is not good for you :-) ?

Posted: Mon Dec 04, 2006 12:02 pm
by Drahken
The problem wuth the colormap method is that you have to know exactly what color you want to make transparent. If there is only one shade of green and that's what you want transparent, it's easy. If there are a dozen shades of green, it could take a dozen tries to find the right one. In the other program, you click on a portion of the image itself to choose the color, this way you know it's the right one without having to retry a dozen times.

Posted: Mon Dec 04, 2006 1:26 pm
by xnview
Drahken wrote:In the other program, you click on a portion of the image itself to choose the color, this way you know it's the right one without having to retry a dozen times.
I don't understand, for GIF transparency you need only 1 transparency index???

Posted: Mon Dec 04, 2006 2:57 pm
by Drahken
You have only 1 transparent color, but the problem is in trying to locate which color. If you have an image that's red, white, and blue and you want the blue sections transparent it's easy. What if your pics has several shades of blue? In order to figure out which one is the one you want to be transparent, you may well have to try a dozen times.

Take this pic for example: http://allspark.net/cypherswipe/trans-test.png There are dozens of near-black entries, trying to find the palette entry which will change the black background to transparent is hit & miss. You might get the right one, or you might just make one of the shadows in the middle of the image transparent. With the other method, you could simply click on the background and it would automatically choose the right palette entry.

Posted: Mon Dec 04, 2006 4:25 pm
by mikiqex
Drahken wrote:The problem wuth the colormap method is that you have to know exactly what color you want to make transparent. If there is only one shade of green and that's what you want transparent, it's easy. If there are a dozen shades of green, it could take a dozen tries to find the right one. In the other program, you click on a portion of the image itself to choose the color, this way you know it's the right one without having to retry a dozen times.
Exactly, that's it

Posted: Mon Dec 04, 2006 4:55 pm
by xnview
mikiqex wrote:
Drahken wrote:The problem wuth the colormap method is that you have to know exactly what color you want to make transparent. If there is only one shade of green and that's what you want transparent, it's easy. If there are a dozen shades of green, it could take a dozen tries to find the right one. In the other program, you click on a portion of the image itself to choose the color, this way you know it's the right one without having to retry a dozen times.
Exactly, that's it
Oh, you want to select transparent index directly on the picture??

Posted: Tue Dec 05, 2006 2:05 pm
by mikiqex
xnview wrote:
mikiqex wrote:
Drahken wrote:The problem wuth the colormap method is that you have to know exactly what color you want to make transparent. If there is only one shade of green and that's what you want transparent, it's easy. If there are a dozen shades of green, it could take a dozen tries to find the right one. In the other program, you click on a portion of the image itself to choose the color, this way you know it's the right one without having to retry a dozen times.
Exactly, that's it
Oh, you want to select transparent index directly on the picture??
Yes, it's much faster than trying what shade is the right one :)

And in IrfanView it was (optionally) like another dialog window during "saving procedure", so you didn't forgot to set the transparent color. IMO this solution si more user friendly (at least for me :) )

Posted: Tue Aug 14, 2007 1:13 am
by herr_k.
xnview wrote:Oh, you want to select transparent index directly on the picture??
is this in progress/evaluated?
i would like to see that too.

btw,where is the palette editor for changing a color to transparent?

Posted: Fri Aug 31, 2007 3:48 pm
by herr_k.
the "edit colormap" is always greyed out, so i cannot choose it. or is this only possible with 256 color gifs.
is there another way to find out on which entry in the colormap a certain color is, so i can save it as transparent?

btw i am also never able to choose "true colors" when saving ia gif - why not?

Posted: Mon Sep 03, 2007 7:10 am
by xnview
herr_k. wrote:the "edit colormap" is always greyed out, so i cannot choose it. or is this only possible with 256 color gifs.
is there another way to find out on which entry in the colormap a certain color is, so i can save it as transparent?
To edit the colormap, your picture must have a colormap (4< <256 colors)
btw i am also never able to choose "true colors" when saving ia gif - why not?
GIF is only able to save maximum of 8bits

Posted: Mon Sep 03, 2007 10:18 am
by herr_k.
aha.
xnview wrote:
herr_k. wrote:btw i am also never able to choose "true colors" when saving ia gif - why not?
GIF is only able to save maximum of 8bits
hm, i just wondered, because there is a greyed out "true colors" option in the gif-savedialog when choosing colors..

Not really…

Posted: Mon Sep 03, 2007 4:58 pm
by Clo
—> Pierre

:) Hello !
…GIF is only able to save maximum of 8bits…
• That's not quite true, you might have written :
The programmes are only able to save GIF as 8 BPP”.
- There was a discussion a while ago, showing that the original specs. don't limit the GIF to 8 BPP, with a sample… ;)
- I can't find out it again now, but maybe… Mr. Librarian, please ?

:mrgreen: KR
Claude
Clo

Posted: Mon Sep 03, 2007 5:35 pm
by XnTriq

Clap, clap !

Posted: Mon Sep 03, 2007 6:12 pm
by Clo
—> XnTriq

:) Hello !

• Thanks ! It's indeed the right thread !

:mrgreen: KR
Claude
Clo