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 2 days ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 21 days ago
Caffeine OS does not use AfA OS and uses icon.library 51.4.568 (HB020) by PeterK

Caffeine OS has almost nothing of AROS 68k!

miker if you are interested in the attached link Peterk has created an Icon.library that does not use Datatypes!

https://eab.abime...ht=iconlib
M
miker1264Software Dev
Posted 20 days ago

AMIGASYSTEM wrote:

@AMIGASYSTEM - Caffeine OS does not use AfA OS and uses icon.library 51.4.568 (HB020) by PeterK

Caffeine OS has almost nothing of AROS 68k!

miker if you are interested in the attached link Peterk has created an Icon.library that does not use Datatypes!

https://eab.abime...ht=iconlib


Thanks for the information.
Edited by miker1264 on 01-11-2024 01:32, 20 days ago
M
miker1264Software Dev
Posted 20 days ago
I did successfully extract OS4 icon data (ARGB chunks) using Icon Library to save as PNG images.
miker1264 attached the following image:
iconsplit_testing_save_os4_icon.png
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 20 days ago
miker, my friend Peter said that discussions with you are welcome, his E-mail can be found under in the Aminet Readme and also in my IconLib.guide or IconLib.html under "Contact and Feedback".

http://aminet.net...onLib_46.4
M
miker1264Software Dev
Posted 19 days ago

AMIGASYSTEM wrote:

@AMIGASYSTEM - miker, my friend Peter said that discussions with you are welcome, his E-mail can be found under in the Aminet Readme and also in my IconLib.guide or IconLib.html under "Contact and Feedback".

http://aminet.net...onLib_46.4


Thanks again. I'm interested in talking to him about his Icon Library and some of the associated conversion programs such as ConvertPNGtoOS4. I'll contact him about it.

In the meantime I'll finalize the current version of Icon Splitter so I can start updating Icon Press to save Glow Icons using my new EncodeRLE. :-)
M
miker1264Software Dev
Posted 16 days ago
With some assistance from PeterK I have made some progress with Icon Splitter on Amiga 68k using his Icon Library to decode ARGB chunks from OS4 icons.

According to Peter his newest icon Library on Aminet (46.4.589) & every version above 586 have the icon control tags for Set/GetARGBImageDat1/2 just like AROS Icon Library. So I had to replace the icon Library in libs on Caffeine OS. It was as easy as renaming the old icon.library and copy the new one.

I had to add the icon tags from AROS icon.h file into the Amiga icon.h file in AmiDevCPP with some changes. I had to use (ICONA_Dummy+301) through (ICONA_Dummy+304). After that the Amiga version of Icon Split compiled correctly. At the point in Process_ARGB function where it would normally use datatypes to save the PNG image data I instead used WriteData function to save a bin file. I saved a ImageData1.bin on AROS & Amiga.

Using HxD hex editor the binary files of image data are identical. So Process_ARGB is working but saving with Datatypes isn't working. At this point I can revise the Datatypes save function to work with Amiga or I could use png.h (PNG library) to write my own LoadPng/SavePng functions to save the ARGB image data.

It's getting interesting. Thanks to PeterK for his patience and for explaining the programming interface for his Icon Library (written in ASM).
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 16 days ago
Ottimo lavoro, Peter รจ una persona speciale sono contento che ti abbia dato una mano, la collaborazione porta sempre a grandi risultati.
M
miker1264Software Dev
Posted 15 days ago
AMIGASYSTEM

Thanks for the kind words.

Peter has helped quite a bit so that I can get the image data from the ARGB chunks for OS4 icons using his newest icon Library.

At this point for Amiga 68k now the data has to be saved to an output image file such as PNG. But I can't get the Datatypes code to work and using PNG library directly also has problems.

So as a proof of concept to prove that the image data is correct I'm going to use my code from the save function for Targa Datatype to save 32bit ARGB data directly to Targa Files. I hope that works. No libraries will be used for that.
Edited by miker1264 on 06-11-2024 12:59, 15 days ago
M
miker1264Software Dev
Posted 15 days ago
Saving directly to 32bit Targa is working on AROS x86 to save the ARGB chunk data.

Now I need to compile the new code to test on Amiga 68k (Caffeine OS) on PiStorm32 Lite using PeterK's Icon Library (46.4.589) to extract the ARGB image data from OS4 icons to save Targa.

Saving to Targa is a placeholder for using Datatypes to save as PNG on Amiga 68k. I will change the output file path method to save the actual icon filename with _1, _2 appended to the name so that the user knows which icon images it is.
Edited by miker1264 on 06-11-2024 17:12, 15 days ago
miker1264 attached the following image:
iconsplit_testing_save_targa.png
M
miker1264Software Dev
Posted 14 days ago
Here is the Save Targa code that I'm using for AROS x86. We'll see if it works on Amiga 68k.

Targa and Windows BMP are very easy file formats to write to. Notice that for Targa (Truevision Graphics Adapter) the data can be RLE compressed using Targa RLE by pixel or it can be uncompressed.

The scanline data is reversed per scanline so that ARGB pixels becomes BGRA instead. Each scanline for Targa is then written from bottom to top of the file just like Windows BMP file format.

I chose Targa because it's an easy format and like PNG it can store 32bit image data. Most viewer programs that handle Targa only display it with an opaque background because most Targa files are 24bit. PaintDotNet and some other applications show it as transparent.
miker1264 attached the following file:
savetarga.zip [2.15kB / 34 Downloads]
A
Amiwell79Distro Maintainer
Posted 14 days ago
thanks MikerSmile
M
miker1264Software Dev
Posted 12 days ago
The Amiga 68k version of Icon Splitter can get the ARGB image data from OS4 icons using the ARGB Icon control Tags in PeterK's Icon Library. The image data is then saved directly to 32bit Targa files. (My Amiga Datatypes code isn't working yet ;-) )

This doesn't only apply to Caffeine OS, but any Amiga 68k or AROS 68k distribution that uses PeterK's Icon Library.

Icon Splitter is fully functional at the moment for both AROS x86, AROS 68k & Amiga 68k. It still needs some code cleanup before I can post it for further testing. I will include an archive of selected test icons of various styles or you can use your own icons to test with. The purpose of the Icon Splitter is to split icons into images to allow them to be edited with a paint program. In that way you can modify your own custom icons.
Edited by miker1264 on 09-11-2024 10:47, 12 days ago
miker1264 attached the following image:
iconsplit_cli_os4_icon.png
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 12 days ago
Thanks miker, Icon Splitter will be very useful and fast on AROS to split icons, to do this before I had to use IconEditor AROS/Amiga version for DualPNG icons, and IconEditor OS 4.1 version for OS4 icons.
M
miker1264Software Dev
Posted 12 days ago

AMIGASYSTEM wrote:

@AMIGASYSTEM - Thanks miker, Icon Splitter will be very useful and fast on AROS to split icons, to do this before I had to use IconEditor AROS/Amiga version for DualPNG icons, and IconEditor OS 4.1 version for OS4 icons.


It is very fast. It takes less than one second to split an icon into images. I will reduce the messages printed to the shell. That was mostly for testing. But it will print the basic information. The program can split Glow Icons, New Icons stored in Tooltypes, Dual PNG Icons, and OS4 & AROS Icons with ARGB chunks. All images are saved to Ram Disk by default. The user can copy them or rename them as needed from there.

Again, I'd like to thankPeterK for his assistance in providing information about how to interface with his Icon Library. According to him extracting ARGB image data only works on his Icon Library above 46.4.586 so just to be sure upgrade your PeterK Icon Library to 46.4.589 like I did. It can be found on Aminet for Amiga 68k/AROS 68k.

On Amiga 68k the 32bit Targa images can easily be converted to 32bit PNG files to edit then later combine to make New Dual PNG Icons.

If you copy IconSplit to c: then you can access it from anywhere. I usually operate in Ram Disk so as to not clutter the system with lots of test files.
Edited by miker1264 on 09-11-2024 12:51, 12 days ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 12 days ago
I always have PeterK's most up-to-date library for both Amiga OS3 and AROS 68k versions, I have been using them for many years, even my AfAOne !

Attention to install the library on OS3.0 and 3.1 you must first disable the resident Icon.library, this is because the icon.library is included in the kickstarts.

Also for AfA OS you have to use the same procedure to disable the AFA OS native resident icon.library.

No problem instead for those using OS 3.5 and OS 3.9, with these OSes you only need to copy PeterK's icon.library in Libs.
M
miker1264Software Dev
Posted 12 days ago
AMIGASYSTEM

Thanks for the information. I'm using AmigaOS 3.9 so I just renamed the old icon.library then I copied the new one to libs. It worked nicely.

As an alternative to extracting the ARGB Images for OS4 icons on Amiga 68k you could use a small Script that PeterK includes with his Icon Library in a folder called "Bonus". The script is "ConvertToPNG" which uses ImageConverter by Thilo Koehler (I forget the name). It converts OS4 icons directly to Dual PNG Icons. But unless you modify the script to save separately it will overwrite the original OS4 icon without prompt. So if possible copy the OS4 icon to be converted to Ram Disk or another temp location so that the original won't be damaged.

After using ConvertToPNG you may then use IconSplit to split it into two PNG images if you'd like to edit the images. Or just use IconSplit to save ARGB chunks as Targa then use a paint program to convert Targa images to PNG. For AROS x86 the ARGB chunks are saved as PNG automatically using Datatypes.
Edited by miker1264 on 09-11-2024 14:36, 12 days ago
AMIGASYSTEMAMIGASYSTEMDistro Maintainer
Posted 12 days ago
Thanks for the info miker, I rarely split OS4.1 icons, a few times I have used IconEditor on OS4.1 emulated on WinUAE, usually for some developers I create OS4.1 icons always with IconEditor OS4.1 version
M
miker1264Software Dev
Posted 11 days ago
AMIGASYSTEM

Thanks for the contact information for PeterK. He has been very helpful by providing me with information about his Icon Library. So, with his assistance I was able to extract the ARGB Images to save to image files. That's an achievement.

In my country I have Monday off because we are honoring veterans. So I will spend much of today and tomorrow cleaning up the IconSplit source code so I can release the current version so I can move on to the next project - IconPress.

It will take about a week or two to write, re-write, edit and test the "Save_Amiga_Icon" function & the seven sub-functions needed to save Classic Amiga Icons (Glow Icons, OS4 ARGB Icons & AROS ARGB Icons). It's about 2000 lines of code that I have to edit & test to get it to save icons.

Happy Sunday!
Mike R.
M
miker1264Software Dev
Posted 10 days ago
Free food all day long. I think I ate too much. ;-)

IconSplit update 1.30 coming soon. It's in final testing.

Here is the Amiga 68k version with the archive of test icons. Of course, you can use your own icons to test. The syntax at the command line is just IconSplitter calculator.info (progName file.info). All split images will be saved to Ram Disk. The test icons can be used for AROS also.

For the Amiga 68k version you must have PeterK's Icon Library installed. It looks for version 51. The recommended version is 46.4.589 which can be found on Aminet.
Edited by miker1264 on 11-11-2024 14:13, 10 days ago
miker1264 attached the following file:
iconsplitter_amiga_68k.zip [14.54kB / 24 Downloads]
M
miker1264Software Dev
Posted 10 days ago
Here are the test icons for both Amiga & AROS.
miker1264 attached the following file:
test_icons.zip [96.08kB / 22 Downloads]
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.
Moderator: Administrator
Users who participated in discussion: amigamia, deadwood, AMIGASYSTEM, pixie, Amiwell79, miker1264, OlafSch, mattson62
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 9
Members Online 0

Total Members: 265
Newest Member: metaneutrons
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]