Request : save multipage icons as *.ICL…

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
ouistiti
Posts: 353
Joined: Mon Oct 25, 2004 7:28 pm
Location: Belgique
Contact:

Request : save multipage icons as *.ICL…

Post by ouistiti »

Request : save multipage icons as *.ICL…

Since we can now create a multipage as *.ico, containing a lot of icons, is it possible to plan a saving as *.ICL instead *.ico ?

- Subsidiary question : How to place the icons in a certain order - for instance matching with a template, and NOT sorted in any standard mode - ?

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
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Cascaded feature…

Post by Clo »

:D Hello Paul !

- Indeed, I support such a request; it could be very useful !
- However, it might be a supplemental capability : we need still the *.ico output format to create multiple icons, then use these icons (when some are necessary) in a *.ICL building…
- So, using the same function & dialogue, we could create an ICL and -eventually- the multiple icons it contains without any overpriced special application.

• Like you point out above, the snag is to impose an order for the icons in the ICL… I think specially to the Total Commander ICLs, where this order must be respected absolutely… Further (dream, dream… ), maybe a use in XnView itself, i. e. for future extra customizable tool-bars or so ?
• Of course, the global structure of an ICL might be so different…

8) Pierre, please, let's know if such an option is possible to add easily.

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

Re: Request : save multipage icons as *.ICL…

Post by xnview »

ouistiti wrote:Since we can now create a multipage as *.ico, containing a lot of icons, is it possible to plan a saving as *.ICL instead *.ico ?
Ok, i'll try to find information about structure of ICL...
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Same than a DLL

Post by Clo »

:arrow: Pierre

:) Hello !
Ok, I'll try to find information about structure of ICL…
- Thank you to consider the Paul's request.

- I guess it is not very different than a DLL structure, since (for a 16-bit one), we could use the same file in Total Commander 16-bit as *.DLL, and as *.ICL in TC 32-bits… You may get it HERE.
- Then, I suppose that it isn't very complicated for you to create a similar 32-bit structure :wink:

:mrgreen: Kind regards,
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 »

2 Pierre

Thank you very much to study this improvement !
Like Clo points out above, the ICL output format might come as an addition, the current *.ico output format (multiple icons) is useful still and must be kept, of course.
The arrow-buttons in the dialogue allow to sort the files, but it's not very convenient when we have a lot of files… Moreover, when it's long, the full path fills the visible part of the list, I think it must be shortened at the display, in order to see the file-name directy - without use of the horizontal scroll-bar- …
So, as a second constituent of that improvement, using a template to impose a file order should be great :wink: ...
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
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Right!

Post by Clo »

:) Hello Paul !
…Moreover, when it's long, the full path fills the visible part of the list, I think it must be shortened at the display…
• This is right ! Just an example below :

———————Image

- Since we know very well which folder is used to create the multipage image, I guess the path could be someting like :
C:\XnView\ …\file.bmp in that case.

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

Re: Request : save multipage icons as *.ICL…

Post by XnTriq »

xnview wrote:
ouistiti wrote:Since we can now create a multipage as *.ico, containing a lot of icons, is it possible to plan a saving as *.ICL instead *.ico ?
Ok, i'll try to find information about structure of ICL...
Knowing next to nil about programming, I'm certainly not trying to be a wise ass here. I just would like to share some information that I gathered on the net.
Wotsit.org wrote:An .ICL file -- ICon Library, as used by icon editors like Microangelo -- is a renamed 16-bit Windows .DLL (an NE format executable) which typically contains nothing but a resource section. The ICL extension seems to be used by convention.
GConvert FAQ wrote:Q: What is an icon library file?
An icon library file is a good mean for storing icons and keeping them readable by Windows and icon extractor. Icon library files are given the .ICL extension and actually are standard 16-bit DLL library files with a .rsrc resource section only filled with icons. Windows and the most part of icon extractors recognize these libraries. Also note that icon libraries are not compressed.
Icon Empire FAQ wrote:What are .icl files?
.icl files are icon libraries. Technically they are resource DLLs with the file extension changed.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Same as 32-bit…

Post by Clo »

—> XnTriq

:D Hello, bonjour !

- Thanks a lot to kick up that topic !

• This matches pretty well with that I noticed above… more than seven months ago ! :twisted:

- Now, we can even extend these notices to 32-bit files : some 32-bit DLLs containing only icons can be renamed as *.ICL without any trouble ! That works exactly the same, I just checked that ! ;)

- They contain resources as :

Code: Select all

[Icon]
[Icon Group]
[301] --> [1]
• This last item is a kind of binary header giving the order of the icons (the marking off)…
- I'm not a programmer anymore, I just examined the resources using “My Little Finger”, a.k.a. “ResourceHacker”, a wonderful free tool, alas not improved and more developped…

:mrgreen: Kind regards, cordialement,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply