IconToolkit

miker1264 · 633

miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
on: March 18, 2023, 11:07:57 AM
This is the thread where I will post general comments or information concerning development of the small icon apps to be included in IconToolkit (which is just a buttonbar app launcher).



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #1 on: March 18, 2023, 11:10:56 AM
@magorium helped quite a bit by providing information and inspiration to start developing the CLI version of IconSplit.

As with every new program I learn a little more about C programming. I learned a lot working on the icon splitter and it was fun. :)

I learned that using #define to set up a macro to perform byte swapping to convert bytes to long or word is easier than using a helper function (getlong or getword) to do the same. Using a helper function combined with a macro is even better yet.

For IconClone I had written a function called Get_IFFOfset to read a Classic Icon to get an offset to the beginning of the IFF data that starts with 'FORM'. It worked but it was very cumbersome and hard to understand what was going on inside the function. There were too many Offset,  Seek, Read and macro calls for each piece of icon data. I knew I would need to re-write it eventually to make it shorter.

As I write each of these small icon apps what I learn will be applied to the previous icon apps to update them and make them more efficient. The concept behind these small apps is to Keep It Super Simple. Many of them are single source code files that can easily be compiled with gcc in a shell.

All these small apps especially IconColor, IconMask & IconBatch are intended for mass production of icon sets.  The computer can assemble hundreds of icon images into icons in a few minutes. It would take a human several hours to do it manually. Automation is good. :)
« Last Edit: March 18, 2023, 12:11:18 PM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #2 on: March 26, 2023, 03:40:58 PM
IconClone development has gone well. The next two apps for general consumption will be IconPress & IconSplit. These are more generalized tools that everyone can use.

The other four icon apps that I have planned - IconColor, IconBatch, IconTint & IconMask are more advanced apps for making icons. They require more graphics design skills.

Eventually I may make them available but it will take several months to finish them. They are much more complicated.




miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #3 on: April 17, 2023, 02:03:05 PM
In order to move forward with the next two Icon Apps IconPress and IconSplit I need to come up with a more direct conversion of window coordinates to GadTools gadget coordinates. GaDTools user interfaces are easy to use except for gadget coordinates. I also need a draw rectangle function based on these coordinates to calibrate my drawing areas and erase rectangle coordinates.

The most recent version of IconClone is complete though there are some inconsistencies on ABIv11 and the AROS 68k version needs to be updated.



miker1264

  • Legendary Member
  • *****
    • Posts: 1827
    • Karma: +84/-6
Reply #4 on: June 22, 2023, 04:23:12 PM
Lately I have been busily backing up the data on my programming laptop. There's about 1.5TB of data.

I'm building a new backup programming computer. So once the data backup is complete I will transfer it all to the new computer and then get all the build systems to work.  :)
More to follow...