Transparency color selection

Proposals and Suggestions for new features and improvements in XnView

Moderators: helmut, Olivier_G, Dreamer, XnTriq, xnview

Transparency color selection

Postby mikiqex » Sun Dec 03, 2006 9:51 pm

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.
mikiqex
 
Posts: 3
Joined: Sun Dec 03, 2006 9:40 pm
Location: Prague

Re: Transparency color selection

Postby xnview » Mon Dec 04, 2006 8:34 am

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 :-) ?
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16253
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby Drahken » Mon Dec 04, 2006 12:02 pm

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.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
User avatar
Drahken
 
Posts: 715
Joined: Sun Apr 10, 2005 4:29 pm

Postby xnview » Mon Dec 04, 2006 1:26 pm

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???
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16253
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby Drahken » Mon Dec 04, 2006 2:57 pm

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.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
User avatar
Drahken
 
Posts: 715
Joined: Sun Apr 10, 2005 4:29 pm

Postby mikiqex » Mon Dec 04, 2006 4:25 pm

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
mikiqex
 
Posts: 3
Joined: Sun Dec 03, 2006 9:40 pm
Location: Prague

Postby xnview » Mon Dec 04, 2006 4:55 pm

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??
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16253
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby mikiqex » Tue Dec 05, 2006 2:05 pm

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 :) )
mikiqex
 
Posts: 3
Joined: Sun Dec 03, 2006 9:40 pm
Location: Prague

Postby herr_k. » Tue Aug 14, 2007 1:13 am

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?
User avatar
herr_k.
 
Posts: 174
Joined: Fri Jan 06, 2006 6:11 pm

Postby herr_k. » Fri Aug 31, 2007 3:48 pm

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?
User avatar
herr_k.
 
Posts: 174
Joined: Fri Jan 06, 2006 6:11 pm

Postby xnview » Mon Sep 03, 2007 7:10 am

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
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 16253
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Postby herr_k. » Mon Sep 03, 2007 10:18 am

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..
User avatar
herr_k.
 
Posts: 174
Joined: Fri Jan 06, 2006 6:11 pm

Not really…

Postby Clo » Mon Sep 03, 2007 4:58 pm

—> 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
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Postby XnTriq » Mon Sep 03, 2007 5:35 pm

User avatar
XnTriq
Moderator & Librarian
 
Posts: 1834
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Clap, clap !

Postby Clo » Mon Sep 03, 2007 6:12 pm

—> XnTriq

:) Hello !

• Thanks ! It's indeed the right thread !

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
 
Posts: 4367
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Next

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest