AMIGASYSTEMDistro Maintainer Posted
2 months agoOK thanks, I'll create the icons for AROS One in the meantime!
Now that another project using Datatypes has been completed I can focus again on Icon Press to attempt to save an Amiga Glow Icon from two input ILBM images. It's coming along nicely, but it's a slow iterative process. It takes some time!
miker1264 attached the following image:
I'm still working on revising & testing Icon Press to Save Amiga Icons, as well as a user interface for Icon Split that will be Amiga 68k compatible.
Now that I'm fixing up my testing environments including AROS One x86 & Tiny AROS & my new version of a minimalist AROS Distro. I'm still working on improving it & updating the icons & making new window themes. You have already seen a sample screenshot. Here it is again...
I need some new & updated colored icons so now I also need new icon tools. These will be Icon Mask, Icon List, Icon Tint & Icon Batch. Icon List builds a list of all the icons on the system.
Icon Mask & Icon Batch are related. Icon Mask uses an original icon image, icon image mask & icon base image to make a new icon image. Icon Batch does the same but it makes & builds all the icon images in the list & it assembled icons. Icon Batch can make & assemble 400 images to make 200 new icons in less than one minute!
miker1264 attached the following image:
Happy New Year!
Just a small update. I'm still working on Icon Press to Save A Classic Icon (Amiga Icon).
The Save_Amiga_Icon functions are coming along nicely! For the sub-functions other than Write_OS35data the second most difficult for me was the Write_Image function which writes planar data to file. There are just a few functions left to do till Save_Amiga_Icon is done. I've been working on Save_Amiga_Icon for 6 months.
Why is it so important to save an Amiga Icon? The Classic Icon is the basis for three of the Icon styles supported by AROS. The Amiga Glow Icon is a Classic Icon (Old Icon Format) with OS 3.5 IFF Icon Data attached at the end. The IFF data contains the images that AROS displays. An OS4 icon is a Classic Icon with OS 3.5 Data attached. But unlike a Glow Icon it only has a 'FACE' chunk with no 'IMAG' chunks. It has 2 'ARGB' chunks at the end of the Icon file that are used to display. The AROS Hybrid Icon or ARGB Icon is similar to the OS4 Icon but it has a complete Glow Icon that 2 ARGB chunks are attached to at the end.
Write_Image is now working. Save_Amiga_Icon loads an ILBM file to get the chunky image data which consists of index values. The image data is processed by RemapIconImage which maps the index values to a standard 4-color palette. Write_Image then writes the planar data to file.
In the screenshot on the lower right side there are 2 small Windows displaying icons. I used the VIEW option for modifyicon to display the Old Icon Images & Glow Icon Images to make sure Write_Image was working correctly. At first it wasn't. The first set of images shows distortion for the Old Icon Images, though the Glow Icon Images are shown correctly.
The distortion for the Gadget Images is caused by incorrectly handling the padding bytes at the end of each scanline for the planar data. I tried to go the easy route by writing the entire planar buffer to file in one go. This is the result.
In the second set of images you see that the Gadget Images & Glow Icon Images are shown correctly. I had to revise Write_Image to write each scanline separately with padding bytes.
Edited by miker1264 on 09-01-2025 14:17,
13 days ago
miker1264 attached the following image: