IconClone Icon Exchange

miker1264 · 795

miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
on: January 03, 2022, 12:54:40 AM
Parsing of Classic Amiga Icons and IFFParse of OS3.5 Icon Data is now working!

IconClone can now load & display Amiga OS4.1 PowerIcons which are Classic Icon Files ( 0xE310 ) with ARGB Icon Chunks.

It can also load & display AROS Hybrid OS3.5 Icons which are also Classic Amiga Icon Files with ARGB Icon Chunks.

IconClone will also be able to load & exchange OS3.5 Glow Icon Images from Glow Icon to Glow Icon.  :)

You will also be able to click in the Icon Display Area to toggle the next icon image like a real icon.
« Last Edit: January 03, 2022, 01:16:29 AM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #1 on: January 03, 2022, 12:59:34 AM
The original PNG screenshots are better to look at than the GIF.  ;)
« Last Edit: January 03, 2022, 01:12:52 AM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #2 on: January 03, 2022, 01:01:25 AM
Here is the screenshot of the AROS Hybrid OS3.5 Icon Images.

The "New Icon Tools" is the package of small GUI & CLI based applications I'm working on for icons.

There are at least two more small GUI apps planned including "IconConvert" to convert OS4.1/AROS OS3.5 to PNG Icons and...
"IconSplit" which will split either PNG Icons, OS3.5 Icons, OS4.1 or AROS Hybrid Icons into either IFF-ILBM or PNG Images.

There will be several other small icon applications available as well when they are finished. I'm still writing & testing them.
On the list are also "IconColor" to use HSL ( Hue, Saturation, Luminance ) to change the color of icons "On-the-fly".

Also there is planned a GUI App called "IconProcess" to batch process the making of AROS Colored Icon Sets which can 
then be used with a GUI App called "ReplaceIcons" to change all the selected icons on the system to a new icon set.

ReplaceIcons is not going to be a script but rather a GUI based application to scan all the existing icons to generate an
"IconsList". It will use "Icon Alias List Processing" It will compare the IconsList to the NewIconsList from the icon set.
When it finds a name match it will replace the selected icon with the alternate icon from the new icon set. We need this app.
« Last Edit: January 03, 2022, 01:45:25 AM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #3 on: January 03, 2022, 01:15:14 AM
More and more interesting, congratulations for being able to create such a beautiful and useful application!


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #4 on: January 03, 2022, 01:40:37 AM
More and more interesting, congratulations for being able to create such a beautiful and useful application!

Thanks.  :)
 
The way I work with these small applications is what I call the "Stepping Stone Method". Each is built upon the features of the one before it.

So it is beneficial to include as many "Novelties" as possible that can be used in the next iteration. Such as... being able to Display an Icon means we can convert OS4.1 PowerIcons to PNG Icons.
« Last Edit: January 03, 2022, 02:36:06 AM by miker1264 »



salvo

  • Legendary Member
  • *****
    • Posts: 1579
    • Karma: +20/-4
  • Peace an Love
    • TinyAros
Reply #5 on: January 03, 2022, 01:42:16 AM
Great Miker :)

TinyAros and shop  http://tinyaros.flazio.com
HP Z400 Workstation, Intel Xeon W3565 3.20 Ghz, 8 Gb Ram, SSD 120 Gb, HD 500 Gb, Quadro nvs 295 256 Mb Gallium Ready


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #6 on: January 05, 2022, 06:52:10 AM
I had a crazy idea that i don't think any other Icon Exchange App does!

Because IconClone holds both the srcedobj (source disk object) & destdobj (destination disk object) in memory we can do something cool.  8)

                        if(reverse == TRUE)
                        {
                            reverse = FALSE; //reverse was true
                           srcedobj = destdobj; //switch disk objects, source is old destination
                           destfile = RemoveFileExtension(destname);
                            destdobj = GetDiskObject(destfile); //current destination icon
                            Exchange_Icon(destdobj, srcedobj, destname, deltasize, win);                        
                        }
                        else
                        {
                            reverse = TRUE; //reverse was false                           
                            Exchange_Icon(destdobj, srcedobj, destname, deltasize, win);
                        }

If you aren't satisfied after you have made the icon exchange and you would like to "Undo" simply double-click the Exchange Button and the Old Icon Reappears - magically.

The Exchange Button becomes a "Toggle" and you can change back and forth as much as you want. I got the idea by looking at the double arrow on the Exchange Button [ <-> ].
So with that in mind I thought "Shouldn't the exchange go in both directions according to the button?" So I changed a few things and tried it. And I was surprised that it worked.

This works great with AROS One x86 v1.6 to toggle the icon exchange. Remember to double-click the Exchange Button to Reverse the Icon Images. Have fun!
Each time Wanderer takes about one second to regenerate and refresh the icons in the window so be a little patient after pressing the Exchange Button.  :)


« Last Edit: January 05, 2022, 09:05:53 AM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #7 on: January 05, 2022, 09:39:15 AM

If you aren't satisfied after you have made the icon exchange and you would like to "Undo" simply double-click the Exchange Button and the Old Icon Reappears - magically.


I'd say a great feature, I've had several times I've made a mistake and put the icons in the wrong place and done a reverse conversion and then couldn't go back :)


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #8 on: January 05, 2022, 03:54:41 PM

If you aren't satisfied after you have made the icon exchange and you would like to "Undo" simply double-click the Exchange Button and the Old Icon Reappears - magically.


I'd say a great feature, I've had several times I've made a mistake and put the icons in the wrong place and done a reverse conversion and then couldn't go back :)

Immensely popular feature for development also!  ;)

Now I don't have to keep copying new test icons after each test.Simply "Undo".

It also helped me find a problem. If I select the srce icon first then the dest icon then press "Exchange" it works as expected. But when I select dest icon first with drag-n-drop then select srce icon last then "Exchange" the images in the display area change but nothing happens to the original dest icon in the window. Why? It's because srcename & destname are both pointing to filename. That has all been resolved and it works nicely now.  :)


« Last Edit: January 08, 2022, 01:04:54 AM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #9 on: January 08, 2022, 12:56:47 AM
The latest IconClone allows you to drop icons for drawers with custom icons or default icons for drawers with no icon file.

It also allows you to drop custom icons for files or default icons for files with no icon. Better yet if you don't like the images after you make the icon exchange simply press the exchange button again to "undo" exchange. The original destination icon returns.

It's a simple but elegant design. It should be very useful.

I plan to release the final AROS x86 version this weekend. I'll also place the binary and source code along with a small readme file on Aminet so others can try it.  :)

It has an AROS Public License.


« Last Edit: January 08, 2022, 01:00:42 AM by miker1264 »



salvo

  • Legendary Member
  • *****
    • Posts: 1579
    • Karma: +20/-4
  • Peace an Love
    • TinyAros
Reply #10 on: January 08, 2022, 01:10:36 AM
Great Miker :D

TinyAros and shop  http://tinyaros.flazio.com
HP Z400 Workstation, Intel Xeon W3565 3.20 Ghz, 8 Gb Ram, SSD 120 Gb, HD 500 Gb, Quadro nvs 295 256 Mb Gallium Ready


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #11 on: January 08, 2022, 09:10:20 AM
Grazie miker, AROS One 68k e AROS One x86 aspettano con fiducia l'arrivo dell'ottimo software :)


miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #12 on: January 08, 2022, 10:01:00 PM
Grazie miker, AROS One 68k e AROS One x86 aspettano con fiducia l'arrivo dell'ottimo software :)

You are welcome!

It has been tested on AROS One x86 v1.6. I haven't tested it for AROS 68K. But it should work there as well. We shall see.  ;)




miker1264

  • Legendary Member
  • *****
    • Posts: 1224
    • Karma: +80/-2
Reply #13 on: January 10, 2022, 07:47:40 AM
Here is the x86 version of IconClone v1.0.7

It was tested on AROS One x86 v1.6 but not yet tested on IcarosDesktop.

It was built with my new Alt-ABIv0 Build System which is better than using gcc commandline.  ;)

For anyone interested I have also included in the zip file the source code for the current version of IconClone.
« Last Edit: January 10, 2022, 07:53:32 AM by miker1264 »



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 1510
    • Karma: +45/-1
  • AROS One
    • AROS One
Reply #14 on: January 10, 2022, 09:57:29 AM
Outstanding, an indispensable tool for the management of icons before non-existent on Wanderer.

IconClone will be available in the upcoming new version 1.7 of AROS One x86, where in addition to many software updates also many new settings of Dopus4 and Wanderer, thanks Miker !

Given the importance of the software i made a news of IconClone v1.0.7 on Amiganews.it and eab.abime.net !

http://eab.abime.net/showthread.php?t=108451&page=2

https://www.amiganews.it/forum/viewtopic.php?t=21082
« Last Edit: January 10, 2022, 01:11:00 PM by AMIGASYSTEM »