Custom icons

Features wanted...
Post Reply
tatzi
Posts: 3
Joined: 27 Mar 2008 18:41

Custom icons

Post by tatzi »

Hi all 8)

I use the xyplorer because of its wonderfull portable filetype assosiation ,
but every time I ask myself the same question.

Why can't Xyplorer display custom icons for filetypes ?

It woul'd be so perfect for users who uses xyplorer together with portables ^^

admin
Site Admin
Posts: 66299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Custom icons

Post by admin »

Yes, makes some sense. But how would you define those custom icons: where are the image data?

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

Yes, good idea. could icons be extracted from exes?

admin
Site Admin
Posts: 66299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Post by serendipity »

admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.

admin
Site Admin
Posts: 66299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

serendipity wrote:
admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.
I also thought about a folder with icons first. But all of this is a can of worms... Extracting from the XY-associated EXEs would be the most natural thing, but there are problems lurking... it's not worth the trouble right now, I'm afraid.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:
serendipity wrote:
admin wrote:
serendipity wrote:Yes, good idea. could icons be extracted from exes?
I don't think EXEs have all the necessary sizes (16, 32, 48, 64, 256) embedded. At least 16 and 32 should be there for a feature like that.
I did a quick check on that, most of my exes have atleast 16 and 32 sizes embedded. But you are right, what about those dont have? Maybe a folder inside XY for icons? atleast it wont make things complicated. I wonder what others think.
I also thought about a folder with icons first. But all of this is a can of worms... Extracting from the XY-associated EXEs would be the most natural thing, but there are problems lurking... it's not worth the trouble right now, I'm afraid.
I definitely wouldn't extract from the associated-EXEs. I think users (or at least myself) would rather be able to define the icon separately, and for that using .ico and .icl for icons is probably best.

tatzi
Posts: 3
Joined: 27 Mar 2008 18:41

Post by tatzi »

the icons woul'd be perfect in .ico file format ( in my opinion ) and this could be placed in %xyplorerdir%\Icons\iconfile.ico

:wink:

e.g. %xyplorerdir%\Icons\psd.ico < xyplorer will display all .psd files with this icon in the folder

admin
Site Admin
Posts: 66299
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

tatzi wrote:the icons woul'd be perfect in .ico file format ( in my opinion ) and this could be placed in %xyplorerdir%\Icons\iconfile.ico

:wink:

e.g. %xyplorerdir%\Icons\psd.ico < xyplorer will display all .psd files with this icon in the folder
Yep, looks like a clean solution.

However, when I look at my list, I can't see this happen before 7.5... you are free to remind me then...

tatzi
Posts: 3
Joined: 27 Mar 2008 18:41

Post by tatzi »

yes , thank you very much :wink:

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

One small issue, really it's just an annoyance, I have with doing it ext.ico is the fact that there are some types that have multiple valid extensions and that would result in needing duplicate icon files.

I'm thinking it being almost a copy of the XY file associations, where you give the extensions and the icon file would be better.

It would also allow for a better interface if this is ever extended to support extracting the icons from exe, dll, icl, or what have you.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

TheQwerty wrote:I'm thinking it being almost a copy of the XY file associations, where you give the extensions and the icon file would be better.

It would also allow for a better interface if this is ever extended to support extracting the icons from exe, dll, icl, or what have you.
This is a valid point, and a good idea for a solution! I know that I have some extensions that are just minor variants of each other and should share the same icon, if I used this feature.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply