Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: motorollin on July 05, 2007, 01:15:05 PM
-
How do I make Dual PNG icons? I downloaded the AmiKit icon update and renamed one of the icons with a .png extension, but it just displayed as a standard image with no second state, so I can't figure out where the second image is stored.
--
moto
-
The files are joined together. Yes, it's sucky.
-
Oh I see, thanks. So can I just use the AmigaDOS "join" command to join two PNG files together?
--
moto
-
Apparently. I've never seen such icons, but that's what I hear.
The problem obviously is that you can't easily split the files back to two pngs (well it's relatively easy to write a tool for that, but still it sucks eggs to use some random invented thing for multiple state icons. Personally I would have used MNG (http://www.libpng.org/pub/mng/) or some other standard fileformat).
-
True, I didn't think about what you would do if you wanted to split the files out again. I'll try joining up some PNGs anyway and see what happens.
Thanks
--
moto
-
True, I didn't think about what you would do if you wanted to split the files out again.
Better keep the original images somewhere in case you want to modify them later.
-
Is it possible to have (dual) png icons ghosted when they represent hidden files?
-
Ghosting icon-less files has be done by the desktop (workbench, magellan, scalos or ambient). Ambient for MorphOS can do that optionally.
-
The problem obviously is that you can't easily split the files back to two pngs
Maybe, but you can even less easily write a routine which safely handles unknown attributes in the icOn chunk. String attributes are embedded in the taglist instead of pointers/offsets and if for an unknown attribute (added/invented in future) you don't know how to decide whether it's a string attribute or not, you are screwed.
-
Fab12 wrote:
Ghosting icon-less files has be done by the desktop (workbench, magellan, scalos or ambient). Ambient for MorphOS can do that optionally.
Hmm... can Afa_OS do that?
-
Hmm... can Afa_OS do that?
Yes.
Of course, so can PowerIcons.
-
klesterjr wrote:
Hmm... can Afa_OS do that?
Yes.
Of course, so can PowerIcons.
Hmm.. I think I'm now one step closer to start using Afa_Os. :-) (One of the reasons why I'm still using IconBeFast/PowerIcons was this)
I tried short while ago Afa_OS, but files without .infos were not ghosted/partially transparent. I presume there is some switch in the prefs for this - maybe I gave up too hastily. If I remember correctly, ghosting hidden files was default setting with Powericons so this might be the reason for difference.