externel icon for favorites

Started by sinus, Today at 10:33:38 AM

Previous topic - Next topic

sinus

I have troubles to get external icons for favorites.
If I do so (see attachement), I cannot see it in the favorites - panel.

BUT if I hover from above over the favorites-rectangle inside the panel, I can see the icon. 
Curious, if I hover from above over the rectangle, then I see (mostly) instead the icon a black small rectangle. 

And what is unfortunately curious, I see in the file window bar no icon, never. 
Does not matter, if I use a jpg or png or a small one (32x32px) or a bigger one. 
Best wishes from Switzerland! :-)
Markus

Mario

Just tested, works here.
Maybe the reason is that you have both selected and icon and provide an icon file name?

I just used did this (32x32px icon)

Image2.jpg

and it worked immediately in the Favorites Panel and also in the File Window ribbon.

Which icon size did you use?
Any warnings in the log file?
Windows 10 or Windows 11?
IMatch version?

sinus

I do not find any errors in log.
I tried several sizes, from 32x32 to 128x128, but also rectangle sizes.

Attached some icons, what works here, like I described (hover down to top, I see the icon, hover top - down, I see a black rectangle, without hovering I see no icon).

Windows 11
newest IMatch-version
the same results with jpg or pngs

Mario, if you do not see quite quickly a solution or my fault, then let it be, it is not that important.
I will then with more time try more here, maybe I can then give  more infos.


Best wishes from Switzerland! :-)
Markus

Mario

#3
I have the same effect with your JPG and the PNG (which has no alpha channel).
The images are only 24 BPP and that seems to upset the image library I use for this purpose? Need to check.

Apparently, the PNG file is detected as "JPEG 8 Bit progressive", which is apparently not supported for icons. The JPG is detected OK, but also has the effect. When I just render the image without respect to Alpha channel, it works. But then all PNG files with transparent parts show wrong. Something is definitely wrong with these images. How did you create them?

When I add a mask in Photoshop and save the image as PNG, it has 32BPP and works fine for favorites.

2.jpg

Try the attached version of the googly eyes.

sinus

Thanks, Mario.
Wow, case solved!  :)

I have these images simply created by screenshot (Windows shift s).
And then "edited" in my old Photoshop CS6. 

But becase these icons are really not very important for me, I think, I saved them a bit "lousy". 
In this case I can do the same like you with the icons, and with a action inside PS it is done quickly.

Thanks for you help, for me this is solved. And since no user had this effect until now, it seems to be really quite unique because of my bad handling with these pics.
Best wishes from Switzerland! :-)
Markus

sinus

If I do the same like you, Mario, then it works.  :D
Thanks, all is fine now!
Best wishes from Switzerland! :-)
Markus