IconClone Icon Exchange

miker1264 · 12266

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
on: January 02, 2022, 05:54:40 PM
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 02, 2022, 06:16:29 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #1 on: January 02, 2022, 05:59:34 PM
The original PNG screenshots are better to look at than the GIF.  ;)
« Last Edit: January 02, 2022, 06:12:52 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #2 on: January 02, 2022, 06:01:25 PM
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 02, 2022, 06:45:25 PM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #3 on: January 02, 2022, 06:15:14 PM
More and more interesting, congratulations for being able to create such a beautiful and useful application!


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #4 on: January 02, 2022, 06:40:37 PM
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 02, 2022, 07:36:06 PM by miker1264 »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #5 on: January 02, 2022, 06:42:16 PM
Great Miker :)



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #6 on: January 04, 2022, 11:52:10 PM
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, 02:05:53 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #7 on: January 05, 2022, 02: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: 1827
    • Karma: +84/-6
Reply #8 on: January 05, 2022, 08:54:41 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 :)

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 07, 2022, 06:04:54 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #9 on: January 07, 2022, 05:56:47 PM
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 07, 2022, 06:00:42 PM by miker1264 »



Amiwell

  • Legendary Member
  • *****
    • Posts: 2616
    • Karma: +35/-4
  • Peace
Reply #10 on: January 07, 2022, 06:10:36 PM
Great Miker :D



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #11 on: January 08, 2022, 02:10:20 AM
Grazie miker, AROS One 68k e AROS One x86 aspettano con fiducia l'arrivo dell'ottimo software :)


miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #12 on: January 08, 2022, 03: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: 1827
    • Karma: +84/-6
Reply #13 on: January 10, 2022, 12: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, 12:53:32 AM by miker1264 »



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #14 on: January 10, 2022, 02: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, 06:11:00 AM by AMIGASYSTEM »