Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

Icon Tools

Last updated on 1 month ago
M
miker1264Software Dev
Posted 1 month ago
AMIGASYSTEM

I didn't test Icon detail view. It makes sense if you do a global icon scale that the small icons would look wrong for icon details.

Maybe there should be exceptions where you tell icon library these icon images should be 1:1 not scaled.
Edited by miker1264 on 30-10-2026 08:46, 1 month ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 1 month ago
Yes, there is a problem: if you view the icons in detail, the detailed icons do not maintain the standard size and are always large.

Regarding the detailed view, as you can see from the screenshot, a black font is used that is hard to read on dark backgrounds. With Claude, I’d like to improve this aspect and see if it resolves the issue mentioned above.

As you can see in the screenshot, I’ve added a gadget in WanderPrefs that lets you select “Icons/Detail/All IFile” with a single click.

Regarding JanusEditor, I’ve had some bugs fixed:

- Word replacement when the word is inside parentheses; this was the bug: For example: “Hello”; double-click ‘Hello’ to highlight it, paste something, and it ends up as: “”NewText
- The white bar in the line number section has been removed
AMIGASYSTEM attached the following image:
icon-library.jpg
M
miker1264Software Dev
Posted 1 month ago
Here is the archive containing the new icon.library 64bit with icon scaling enabled. I also included the working souce code layouticon.c and layouticon_1029.c should be identical.

The layouticon1029.c is the corrected code & just to be sure I copied the working code directly
from icon library in my Build System. The rest of the files are screenshots.

I noticed that icon sizes 48, 64 & even 96 look fine. But size 144 is gi-normous & it doesn't look good!
You must be half blind to use that one. ;-)

Again, further testing must be done to ensure that the new changes will not break anything else. If not it can be submitted for review via PR.
Edited by miker1264 on 29-10-2026 20:58, 1 month ago
miker1264 attached the following file:
M
miker1264Software Dev
Posted 1 month ago
Wow! Icon Scaling works beautifully!

Well, it does now. I fixed the icon library code. ;-)

The problem with the second image is that you can't use the width, height from the first image for the second.

You must get the correct dimensions for the second image. It can be different, so you can't assume both images are the same!

That's the code I changed. Now at around line 220 in layout icon.c it checks the size of the first or the second image to get dimensions. It depends on the icon index now.
Edited by miker1264 on 29-10-2026 20:55, 1 month ago
miker1264 attached the following image:
icon_library_fixed.png icon_library_fixed_1.png icon_library_code_fixed.png
M
miker1264Software Dev
Posted 1 month ago
I downloaded the files. I'll compile the new binary for testing later today. I'll try some samples first and I'll post the binary here for testing.
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 1 month ago
After you've tried out the new changes, if you need Claude, I can pass along your requests.
M
miker1264Software Dev
Posted 1 month ago
AMIGASYSTEM

Thanks for the information. I will examine the icon library code for the non-scaled icons and compare to the new code to figure out why the second image isn't scaled properly.

Interesting that only the icon images are scaled after they are obtained by icon library and the original icons are unchanged. That's a similar concept to "icon alias" that Kalamatee came up with several years ago.

We had discussed developing a method to use only the icon images from the alias icons located in a directory, but the original icons would supply the other icon settings, while the original icons remain unchanged by icon alias. It can turned on or off at any time then the original images are used.

But with the ease of replacing the icons these days I don't think that icon alias has much usefulness.
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 1 month ago
In the archive I sent you, there is an application called IconSize that has a small GUI where you can set the icon size. Once you've done that and set a size, if you try to reopen a folder, you'll see that the icons have already been resized.

To set all icons to the size specified in user-startup, add this command:
IconSize APPLY

This command will not open the GUI; it will set the icon size preference stored in ENVAR.

Please note that the icons themselves will not be physically modified and will remain as they were originally.

With this utility, you can use the standard 64x64 icons, and then the user can choose which size to use.
M
miker1264Software Dev
Posted 1 month ago
I inserted the previous patch you provided. I haven't tried the other apps yet. Maybe later today.

Maybe explain the procedure for scaling the icons so I can figure out why the second image is getting distorted? Then I can test it on my end as well, to make sure it works correctly before I post it again.
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 1 month ago
miker, as I mentioned, I have a patched Icon.library that scales the system icons correctly, but there’s a small issue: the icons are now perfect.

To fix this issue, you need to repair the Icon.library using the corrected code I sent you. Unfortunately, even though the icons scale perfectly, your Icon.library still has problems with the icon’s “second image,” which is corrupted—see the screenshot.

I spoke with Claude, who is looking into it, and he gave me two corrected source files. Recompile them and let’s see if this fix is enough to resolve the issue. I’m attaching the files:

Hi, have you tried the other apps I sent you?
AMIGASYSTEM attached the following file:
files-fix-1.zip [8.11kB / 51 Downloads]
AMIGASYSTEM attached the following image:
fix-icon.jpg
M
miker1264Software Dev
Posted 1 month ago
@AMIGASYSTEM

Here is the icon library with the icon scaling in layouticon.c module.
I inserted the new code and I compiled the icon library for ABIv11 x86-64
since I assume you will be testing it with Aros One 64bit.

Here is the icon library for testing. I'm not sure what tests you want to do.
So you may do that part.
miker1264 attached the following file:
icon_library_x86-64_10-27-26.zip [99.39kB / 62 Downloads]
M
miker1264Software Dev
Posted 1 month ago
Courtesy of AMIGASYSTEM, later today I will add the icon image resizing code to icon library and compile it for testing. This is just a test version for resizing icon images. It only has a few small changes.

If everything goes well then the changes will be submitted to ABIv1 and ABIv11 for review to make sure there are no regressions.
Edited by miker1264 on 27-10-2026 09:38, 1 month ago
M
miker1264Software Dev
Posted 3 months ago
In order to Replace Icons:
1st step - Scan All Directories for Icons & Save Icons_List.txt to Ram.

2nd step - Optionally Backup all icons by using the Icons_List.txt to copy icons to "Ram Disk:Icons".

3rd step - Select Icon_List.txt location (in case it already exists somewhere other than Ram). The filename appears in the edit box.

4th step - Select first icon file of the Icon Set to get the full path. Path is saved to edit box.

5th step - Exchange button will replace all icons on the Icons_List.

The first step (list all icons) was completed successfully. You can edit the Icons_List.txt to only replace the icons in a specific drawer, for example, or all icons on the system.

This utility app is IconList. It just starts in SYS: and lists all the icons on your AROS system. It saves the list to a text file in Ram Disk. Later today I'll post the source code. :-)
Edited by miker1264 on 05-09-2026 08:44, 3 months ago
miker1264 attached the following image:
iconcrunch_mockup.png iconcrunch_icon_lister3.png
M
miker1264Software Dev
Posted 3 months ago
Recently I started a new project out of necessity. It has a Gorilla as it's mascot and as it's Application Icon.

What do gorillas do? They crunch & munch & tear up those Gorilla Icons & replace them with nicer icons! :-)

It's an Icon Replacement Tool. It's an MUI/Zune app & it's in it's very early stage of development. I'll work on it this weekend to get it fully working.
Edited by miker1264 on 04-09-2026 10:22, 3 months ago
miker1264 attached the following image:
gorilla_icon.png
M
miker1264Software Dev
Posted 3 months ago
I think this one is a winner! Now to integrate the code into the GUI. :-)

I need to add some pixel blending and then make real icons for testing.

This is a simplified Neon Glow Icon.
Edited by miker1264 on 26-08-2026 12:10, 3 months ago
miker1264 attached the following image:
neon_glow_composite.png icon_mask5_composite.png
M
miker1264Software Dev
Posted 3 months ago
This file contains the code needed to complete the functions producing a neon glow border.

At the top of the text file is some random test data. I was trying to work out the formula for darkening glow pixels to simulate adding black. When the original image with the black Shadow border is composited over the glow mask the pixels are blended or darkened to give the glow border a 3D effect.

The pseudo code and notes at the bottom are how I intend to do the image compositing function.

Please don't try to compile the code. It doesn't do anything in particular. It's just a sample. ;-)

By the weekend I'll post my AddGlow program. You can compile that code. It's a command line app that adds a neon glow based on a drop shadow.
Edited by miker1264 on 25-08-2026 12:13, 3 months ago
miker1264 attached the following file:
icon_builder_notes_08-24-26.zip [1.79kB / 98 Downloads]
M
miker1264Software Dev
Posted 3 months ago
Here is a sample of the neon glow masks made from shadow borders.

I will need to use a non-offset, larger shadow mask for a larger glow size. I also meed to do the alpha intensity.

But it's getting closer...

The image on the left has the shadow template. The image on the right with the glow border is the one we are trying to match. The others are neon glow mask samples.

I'll post the code here when it all works. Now you know the concept.
Edited by miker1264 on 23-08-2026 16:33, 3 months ago
miker1264 attached the following image:
icon_glow_collage.png
M
miker1264Software Dev
Posted 3 months ago
I'll be starting a new Topic for Small Icon Tools which are command line utilities for making or modifying icons. I will provide the source code as well as 32bit & 64bit binaries. It would be easy enough for anyone to combine the source code in a GUI.

For making neon glow borders I have a new method that I think will work. Whereas adding glow borders to Ken's v4 Icon is like using a sniper rifle in a video game, it's very precise. But making a neon glow is like a Shotgun Effect, it's quick but requires less presision and it's easy.

In order to make a neon glow we start with adding a Shadow Template which is basically a Shadow Border that isn't offset, it's centered on the image instead. The shadow pixels are all black with varying alpha values. It's also called an Alpha Mask. The purpose of the Shadow Template is to scatter the alpha values that will be used later.

For the glow effect, using the Shadow Template, we replace black pixels in the alpha mask with the selected glow tint. Such as if we use Aqua Glow Tint the rgb is (0,255,255). For each black Shadow Pixel we replace (0,0,0) with (0,255,255) which creates an Aqua Glow Mask. We can use any Glow Tint that we know the RGB values.

The Neon Glow Mask alone is not enough to produce the Neon Effect. We need to darken certain pixels & blend fringe pixels to give a 3D look. When we combine the original image with the mask we do blending.

Since the alpha mask aka Shadow Mask is composed of black pixels in orden to blend them with the Neon Glow Pixels we simply darken the Glow Pixel to simulate adding black. In Color Theory adding White lightens a pixel and it's called a "Tint". Adding black darkens it and it's called a "Shade". So we simulate adding black. For fringe pixels around the RGB Icon Image that are not black but have alpha values >0 but <255 we do real Linear Blending.

Using the Shadow Template to produce the Neon Glow Mask then Compositing the images and doing pixel blending with the Original Shadow Pixels it produces a nice 3D looking Neon Glow Border.

That's what I'm working on now. :-)
M
miker1264Software Dev
Posted 3 months ago
While trying to add a method to an existing icon maker GUI I accepted a challenge to come up with a method to draw a neon glow border to add it to an existing icon image.

My Icon Builder program already has a suitable method to draw new glow borders for Ken's v4 46x46 icons but that is too complicated. Now I have a new concept for neon glow border.
Edited by miker1264 on 22-08-2026 09:26, 3 months ago
M
miker1264Software Dev
Posted 3 months ago
AMIGASYSTEM

I will integrate the code to get the Color index into the GUI tomorrow.

I spent the evening working on my Build System for ABIv11.

P.S. - It's really hot in my Home Office where I do my computer work and where I do my AROS development. It's about 90 deg F in this room, or 32 deg C. I'm sweating it for AROS!
Edited by miker1264 on 20-08-2026 22:12, 3 months ago
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Users who participated in discussion: amigamia, deadwood, AMIGASYSTEM, pixie, retrofaza, Amiwell79, cdimauro, miker1264, OlafSch, mattson62