Setting transparent colour for viewing animated GIFs

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Drahken wrote:The problem there is that most icons (especially ones made with free software) are 8bit, meaning that the majority of icon files won't show with transparency in xnview. While xnview itself can make icon files in 24bit format, it can only make transparent files (of any kind) in 8bit format.
The problem is that my internal image library can use 8bits + trasnparency index, or 32bits (alpha). But ico in 8bits have an image in 8bits and a mask in 1bit. For 24bits ico, i expand the mask into the alpha channel, do you want to expland 8bits too in 32bits??
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Plug-in---

Post by Clo »

—> Pierre

:) Hello !

• Did you skip my message just before ? :P

- I guess that using a plug-in in a non-modal window (or so) for the 8+1 ICO files should be better than waste memory and resources to expand them to 32 BPP, regardless the issues which occur currently with that method for the original 24 BPP…

:mrgreen: KR
Claude
Clo
Last edited by Clo on Sat Feb 03, 2007 8:43 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Plug-in---

Post by xnview »

Clo wrote: • Did you skip my message just before ? :P

- I guess that using a plug-in in a non-modal window (or so) for the 8+1 ICO files should be better than waste memory and resources to expand them to 32 BPP, regardless the issues which occurs currently with that method for the original 24 BPP…
I don't understand, if you use a plugin the problem still the same, 8bits+mask is not possible...
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Why not ?

Post by Clo »

:)

• The plug-in I quote in my previous message works for these *.ICO 8+1 and *.ICL containing them too in TC,
the transparency is rendered alright.
- I don't see why it couln't work when invoked from XnView, supposing indeed it be adapted,
that is not the sea to drink, I guess…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Why not ?

Post by xnview »

Clo wrote::)

• The plug-in I quote in my previous message works for these *.ICO 8+1 and *.ICL containing them too in TC,
the transparency is rendered alright.
But the problem is not the loading, xnview can't use 8bits+Mask 1bit picture!!
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Start APP…

Post by Clo »

:)

• I guess you misunderstood me, I mean : Use a plugin¦tool -maybe as a standalone APP coming on top with an appropriate window size- and able to support ICO 8+1 when such a format is detected…
- It might be possible, I don't see any other way avoiding to start such an APP automatically.
• Currently, one is bound to use Open With that's really not handy at all…
- We are talking of the viewing only here, are we not ?
- The processing is not the topic, this is another story…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Same song…

Post by XnTriq »

User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

WHA !

Post by Clo »

—> XnTriq

:) Good evening,

• WHA ! Won_der_ful ! Thanks a lot !

• Indeed all transparency problems are related to that topic…

• Viewing such a thread-collection, one can't say that it's a minor issue…

:mrgreen: KR, Cordialement,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Post by ouistiti »

Thanks XnTrig, good job !

The core of the programme itself doesn't support a lot of formats without plug-ins,
and it does with plug-ins, so where is the difference :?:

Friendly,

Paul
L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ouistiti wrote:The core of the programme itself doesn't support a lot of formats without plug-ins,
and it does with plug-ins, so where is the difference :?:
The problem is not to load ICO :-) I can load ico, the problem is to use such bitmap format (8bits+mask 1bit), i must convert it to a compatible format...
When you load 24bits+mask, i convert it in 32bits.
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Pffffffftttttttttt............

Post by Clo »

:arrow: Pierre

:) Good morning,

Sigh…

• Paul and I don't mean that XnView itself has to load the 8+1 ICO to display it directly ! It can't, and this is the issue !

- We mean : Just detect the format (so, loaded in another thread not displayed to perform the detection),
then send the image to a plugin which loads and displays it, like suggested above…

• For instance, the Lister of TC is unable to display anything else than 16² and 32² icons and 4 BPP…
- With its IclView plug-in (or others), all kinds of icons are displayed OK !
- Indeed, the *.ICO file-type is detected by TC-Lister, but loaded for¦by the plugin
which displays its window on-top within the Lister one…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Pffffffftttttttttt............

Post by xnview »

Clo wrote: • Paul and I don't mean that XnView itself has to load the 8+1 ICO to display it directly ! It can't, and this is the issue !

- We mean : Just detect the format (so, loaded in another thread not displayed to perform the detection),
then send the image to a plugin which loads and displays it, like suggested above…
You want only to view correctly? Even if it's on another dialog?
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Thank you all for your contributions and comments. I didn't expect such a discussion for my simple question. :o Obviously there are really issues and problems when viewing of ICO files.

ICO might not be the #1 file format, but XnView's main job is viewing files, so viewing should be supported properly. But please no special dialog - otherwise we would have "Image view", "Fullscreen - Browser", "Fullscreen - Edit", and "Image view - Icon". That would be a real nightmare, then. :-|
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Viewing…

Post by Clo »

:arrow: Pierre

:) Yes , like I said above, only viewing properly is sufficient currently…


:arrow: helmut

• Hi !

• I guess that Pierre made a pen slip and meant "another window", according to that I explained formely about the TC Lister.
- So, a window that comes and fits the main View, that is not annoying at all, IMHO…
- Some subsidiary issues have to be solved, i.e. the Next¦Previous file commands, but not a big deal, I think…

:mrgreen: KR - G.
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Post by Drahken »

The problem is not to load ICO Smile I can load ico, the problem is to use such bitmap format (8bits+mask 1bit), i must convert it to a compatible format...
What about converting it to a transparent GIF image for viewing?
Post Reply