As for the GUI for IconMake here is the code that I wrote to connect the selected glow tint to the actual glow colors for each of the color bands in the glow mask. The 24bit glow mask is used to make the 32bit glow border by applying a blur effect.
miker1264 attached the following file:
AMIGASYSTEMDistro MaintainerPosted
3 months agoI tried compiling getglowcolors_sample natively, but I'm getting errors!
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 agoWhile 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 agoI'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. :-)
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:
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:
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:
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:
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:
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
AMIGASYSTEMDistro MaintainerPosted
1 month agomiker, 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:
AMIGASYSTEM attached the following image:
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.
AMIGASYSTEMDistro MaintainerPosted
1 month agoIn 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.
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.
AMIGASYSTEMDistro MaintainerPosted
1 month agoAfter you've tried out the new changes, if you need Claude, I can pass along your requests.
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.
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: