AROS World Exec

Development => AROS Software Development => Topic started by: miker1264 on July 27, 2022, 09:18:42 AM

Title: IconPress Icon Maker
Post by: miker1264 on July 27, 2022, 09:18:42 AM
This is Icon Press. It "Compresses" or "Presses" two images into an Icon.

Drop either two PNG Images or two ILBM images on the display areas. Normal Image on the left & Selected Image on the right. The images types & dimensions must match.

If you drop two PNG Images then select "Save Icon" it will save a DualPNG Icon. If you drop two ILBM Images then select "Save Icon" it will save a Classic Icon with OS3.5 Extension. If you drop two PNG Images then select "Save ARGB" it will save a Classic Icon with OS3.5 Extension & ARGB Data.

It's a Simple Icon Maker that is intended to be very easy to use. This is the next Icon App in the series.  :)
Title: Re: IconPress Icon Maker
Post by: Amiwell on July 27, 2022, 09:25:45 AM
wonderfull Miker :)
Title: Re: IconPress Icon Maker
Post by: new123 on July 27, 2022, 02:57:28 PM
Good app. :)
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 27, 2022, 02:58:50 PM
Excellent miker, this tool would have been indispensable even on Amiga OS3
Title: Re: IconPress Icon Maker
Post by: miker1264 on August 21, 2022, 11:29:16 AM
The user interface is complete. It's clean & simple.

Drag-n-drop PNG images or ILBM images to make an icon.

I'm still working on Display Image at the moment.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on August 21, 2022, 12:17:31 PM
Excellent work as always
Title: Re: IconPress Icon Maker
Post by: miker1264 on August 21, 2022, 12:23:58 PM
Excellent work as always

I'm working on another at the same time with the same user interface. It may be done first since it is easier.

It's called Icon split. Drop a PNG or Classic Icon & split it into images which can both be saved to individual files

I'll update that one & future icon apps on the Thread for Icon Toolbox.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on August 21, 2022, 12:30:54 PM
Interesting, i usually do this with IconEditor
Title: Re: IconPress Icon Maker
Post by: miker1264 on January 29, 2023, 03:09:27 PM
I'm currently working on IconPress icon maker.

The Display_Image works for PNG images. Displaying ILBM images is next. Both will use ReadPixelArrayAlpha to display 32bit image data. Drag-n-drop images or use the command line to send file names. Screenshots to follow.
Title: Re: IconPress Icon Maker
Post by: Amiwell on January 30, 2023, 07:54:49 AM
good Miker!
Title: Re: IconPress Icon Maker
Post by: miker1264 on January 31, 2023, 10:20:36 AM
IconPress icon maker will have command line arguments & switches like IconClone & the other planned icon apps. It also makes it easier for debugging.  :)

IconPress will have a new command line switch  '--t' (int type 1-8) to set the destination icon type. If it works well it will be added to IconClone also. Instead of Save-Classic_Icon the main function will be Convert_Classic_Icon for IconClone.

Currently I'm deep in the weeds of Save_Classic_Icon at the classic Amiga icon structure level. The diskobject, drawerdata, defaultool, tooltypes all need to be written to file based on two ILBM input files. Oh, what fun!  :)

If you are interested here is a link about classic Icons:
http://www.evillabs.net/index.php/Amiga_Icon_Formats


Title: Re: IconPress Icon Maker
Post by: miker1264 on February 20, 2023, 08:54:16 PM
This is the new user interface for IconPress Icon Maker.

Currently you can drag-n-drop two PNG images and choose Save Icon to save a new png icon or to assign an icon to a file or directory without an icon.

Save Argb and Save Icon for IFF images are currently not implemented. They will be made available in future updates.

The image display areas use the same coordinates for Display_Image & Erase_Rectangle as IconClone so I don't have to re-calculate all the coordinates.  :(

Title: Re: IconPress Icon Maker
Post by: paolone on February 21, 2023, 01:47:29 AM
This is the new user interface for IconPress Icon Maker.

Currently you can drag-n-drop two PNG images and choose Save Icon to save a new png icon or to assign an icon to a file or directory without an icon.

Save Argb and Save Icon for IFF images are currently not implemented. They will be made available in future updates.

The image display areas use the same coordinates for Display_Image & Erase_Rectangle as IconClone so I don't have to re-calculate all the coordinates.  :(


Some suggestions I may give you, since I had to implement most of them in my IconPoser (which basically does the same job):
- preserve original tooltypes when replacing an already existing icon
- add the faculty to add tooltypes (mine can't do that)
- let the use choose the icon type (tool, project, disk etc)
- maybe the option to convert the internal format to different one (ex from PNG to Glow and so on - another thing IconPoser can't do)


Moreover: there's little gain into drag'n'drop ability if wanderer and magellan can't use image thumbnails instead of their def_ icon. You always have to generate them first. Maybe the next thing you may do on Wanderer, when your work on your icon tools is done, is adding this feature so user can browse image collections with ease and drag'n'drop the desired ones into your tools.

Title: Re: IconPress Icon Maker
Post by: miker1264 on February 21, 2023, 04:33:40 AM
This is the new user interface for IconPress Icon Maker.

Currently you can drag-n-drop two PNG images and choose Save Icon to save a new png icon or to assign an icon to a file or directory without an icon.

Save Argb and Save Icon for IFF images are currently not implemented. They will be made available in future updates.

The image display areas use the same coordinates for Display_Image & Erase_Rectangle as IconClone so I don't have to re-calculate all the coordinates.  :(


Some suggestions I may give you, since I had to implement most of them in my IconPoser (which basically does the same job):
- preserve original tooltypes when replacing an already existing icon
- add the faculty to add tooltypes (mine can't do that)
- let the use choose the icon type (tool, project, disk etc)
- maybe the option to convert the internal format to different one (ex from PNG to Glow and so on - another thing IconPoser can't do)


Moreover: there's little gain into drag'n'drop ability if wanderer and magellan can't use image thumbnails instead of their def_ icon. You always have to generate them first. Maybe the next thing you may do on Wanderer, when your work on your icon tools is done, is adding this feature so user can browse image collections with ease and drag'n'drop the desired ones into your tools.

@paolone

All good ideas!  :) Some I had thought of. Some I had not considered.

I planned to include the command line switch --t to set icon type. But selecting tooltypes with a string gadget is good & thumbnails are even better. In order to add more options I would need to add a small menu system to IconPress. The bottom buttons would just become "Quick Action Buttons".

For the main menu items I would consider Icons, Images, Effects. On the Icons menu would be Save Icon, Save Argb, Save OS4, Save Classic,  Select..., About, Exit. On Images menu would be Duplicate First Image, Create Thumbnail, Add Image Frame, Trans Background. On Effects menu would be Darken Selected, Add Gold Glow, Add Green Glow, Add Blue Glow.

Then we could choose the Icon Style to save such as DualPNG, OS4, Classic, etc. Also "Select..." opens the "Select Options window for the user to select icon type, default tool, and tooltypes with radio buttons & strings.

I had planned to add colored glow borders and to use other effects in at least one small icon app but wasn't sure which. Once the Gold Glow Border is added I can use HSL Color Filtering and Color Shifting to produce the other two.

As test cases I'd like to make it interesting by using the famous Amiga picture files associated with Deluxe Paint. The Gold Mask of Tutankhamen & Venus by Botticelli. From them we will make thumbnails then complete app icons.

This app was going to be ambitious using Neuquant Color Quantizing and Saving Classic Icons but now it will be very ambitious! But it will be worth all the effort if it works well.

Title: Re: IconPress Icon Maker
Post by: miker1264 on February 21, 2023, 10:31:34 AM
Most of the image effects are straightforward. But I haven't attempted to add a glow border using c code. It may involve color distance, overlay masking & alpha blending using HSL to RGB calculations. It's basically a neon glow algorithm.

The Add Image Frame is an effect to add a 1-pixel dark rectangle frame. Then it adds an alpha blended drop shadow using the frame color with a specific offset. For the glow border it will have a larger drop shadow using the glow color instead of a frame color. The techniques are similar.

The thumbnail images use a simple resizing algorithm such as ResizeBilinear to scale the image. I had planned to do something similar for icon images with non-standard sizes so that they would fit in the icon image display areas.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 21, 2023, 11:01:09 AM
Great work miker, having thumbnails also on Wanderer would be useful, with OS3 it is possible to have thumbnails thanks to Tool "Eastern" and icon.library bu PeterK
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 21, 2023, 11:19:49 AM
Great work miker, having thumbnails also on Wanderer would be useful, with OS3 it is possible to have thumbnails thanks to Tool "Eastern" and icon.library bu PeterK

For Thumbs View for Wanderer for picture files it is possible. They are simply resized PNG images to simplify the explanation. When Wanderer displays icons it displays PNG images. The Thumbnail images act like icon objects.

Actually there is a way that Wanderer can do the same.  ;)



Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 21, 2023, 03:55:40 PM
Regarding the Icon Type, for someone like me who produces a lot of icons, small, fast and especially drag-n-drop tools are very useful, at the moment for the creation of icons for AROS One, on OS3 I use "IconType", this tool allows me i little time and easily to edit hundreds of Icons.

Using mouse and menu would involve so much extra time, this applies to both Icon Type and Image Change, if I then need to copy only Position, Tooltype, Image, Stack Size or data Drawer, I use IconCopier, although now IconCopier has become obsolete.

Title: Re: IconPress Icon Maker
Post by: miker1264 on February 22, 2023, 10:13:01 AM
The first release version of IconPress will be ready when ResizeToFit is working and we can load 2 PNG images or 2 ILBM Images and Save Icon works to assemble a new icon.

ResizeToFit will be automatic. If the PNG image being loaded is not a size that will comfortably fit in the display area the user will be prompted to Resize the pixel data. The original image will not be altered. The scaled pixel data will be used to save the new icon. This is the first icon image effect.

The second release will focus on adding a small menu system with a few more icon image effects. Also Save Argb will be enabled to use Color Quantizing to convert PNG to ILBM to save a Classic Icon.

The third release will add the Drop Shadow and Glow Border functions as well as the ability to Select Icon Options such as Icon Type, add Default Tool,  & ability to add ToolTypes if that's possible. By then Save Argb will be complete. It will save Argb Icons as well as saving OS4 Icons from 2 PNG input images.

These things seem small but they involve a lot of work.  8)
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 22, 2023, 11:28:45 AM
Regarding the Icon Type, for someone like me who produces a lot of icons, small, fast and especially drag-n-drop tools are very useful, at the moment for the creation of icons for AROS One, on OS3 I use "IconType", this tool allows me i little time and easily to edit hundreds of Icons.

Using mouse and menu would involve so much extra time, this applies to both Icon Type and Image Change, if I then need to copy only Position, Tooltype, Image, Stack Size or data Drawer, I use IconCopier, although now IconCopier has become obsolete.

It may be possible to do something similar for a planned icon tool such as IconType. I had just thought of it as allowing to user to change type. But maybe it could allow dropping a source icon & destination icon then choose which attributes to copy as well as string the icon type.

If you just want to change the type drop the icon in the destination area set the new icon type then save it.

Not sure about it. I will consider the new layout.

Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 22, 2023, 11:47:28 AM
The IconEditor Program that I use to create my Icons, on OS3 and AROS, the Icons created are saved the all as "Project Icon" icons, this means that I then have to do the conversion with other software.

Also IconEditor, on folder icons, doesn't have a tool to set position and window size, I don't know of any application that can set this on all Icons.

Actually this on AROS One should not be a problem since on Wanderer Preferences I set window position and size to "automatic", basically if you save the SYS window, all subfolders will open at the same size.

However, the problem may arise if the user disables the automatic from Wanderer, in which case the Folder Windows will open in a cluttered manner as IconEditor a prefixed.

Another feature that will show the messy icons is if you try to open a folder from a Shell without using Wanderer.
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 22, 2023, 04:04:41 PM
As far as Thumbnails that can be used with drag-n-drop there is a possible solution.

The command line iconmake program will copy the PNG image of itself to the same location with .info extension making a copy of itself into an icon instead of using a picture def icon.

If you are batch processing icon images into icons the iconmake app will "find" an image by making a copy of itself as it's own icon. In batch mode it will "find" all the images in that directory. But please make sure they are icon images. It may be wise to check the dimensions before assigning.

I'm still working on this. I will have to write iconmake ;)
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 23, 2023, 11:54:28 AM
For facilitating drag-n-drop of icon image files for IconPress I have started writing "iconmake" which is a small command line tool that can make an icon for a single PNG icon image or batch process all icon images in a directory.

It makes an icon for PNG picture files that are of the correct width & height for an icon image. It copies the PNG image itself & adds .info to make it into an icon of itself. When you open the directory containing the icon images you will then see icons that represent the true image rather than a def picture icon although the girl with the red scarf is very nice too! If you delete the temp icons she will reappear. :)

This only works for PNG icon images not other picture files. It doesn't create thumbnails. It creates temp icons that act like thumbnails but they can be used for drag & drop.  8)

But it's all about speed and accuracy. Dragging and dropping hundreds of icon images can be tedious! IconPress will work in batch mode also for a source directory containing pairs of icon images if they are named appropriately. If the files are System1.png, System2.png, Tools1.png, Tools2.png, etc. IconPress will scan the directory to find the base names then combine the image pairs into System.info, Tools.info, etc. If an output directory is provided the icons will be saved there instead. Otherwise they will be saved in the source directory. It can process hundreds of icons in just a few minutes.

For Wanderer I write a similar utility to generate thumbnails & make icons as a proof of concept. Eventually Wanderer may be able to generate virtual thumbnails of pictures to be used as temp icons in a Thumbs View Mode. When we switch back to Icon View Mode thumbnails are replaced with original icons.





Title: Re: IconPress Icon Maker
Post by: miker1264 on February 24, 2023, 09:44:43 AM
IconMake can make single icons for icon images such as the blue drawer that only have def picure icons.

Next I will start a new fuction to scan directories for batch processing.
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 24, 2023, 11:57:27 AM
Oh Yeah! IconMake Batch Processing all the png icon images in "Ram Disk:"  ;)

After you run IconMake to make temp icons you can use them to drag-n-drop to IconPress (or other apps).

The temp icons act like thumbnails so that you can actually see which icon images are available instead of just def picture icons!

Now that I scan a directory I will modify IconMake to also make real thumbnails for picture files other than icon images. The PNG picture file thumbnails can also be dropped on IconPress. It will scale them to fit the display.

The IconMake tool will be ready after a little code cleanup. I will post it here.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 24, 2023, 12:42:21 PM
Thanks miker, it will be immediately installed on AROS One, I also prepared a complete icon set for all AROS One icons.

(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=4373;image)
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 24, 2023, 01:19:39 PM
Thanks miker, it will be immediately installed on AROS One, I also prepared a complete icon set for all AROS One icons.

(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=4373;image)

Thanks. I also have some artwork for the icons for the other icon tools. I will post them for you to see.

I'm not satisfied with my icon image for IconPress. Maybe you could do better. My concept is a stack of colored paper with an arrow  pointing down like a printing press. Mine isn't pretty.  :'(

I will also post the new colored drawer icons for everyone.

I'm working on ResizeBilinear for creating thumbnails. It is also for ResizeToFit for IconPress to fit the display area.

If IconMake will be capable of making thumbnails that's ok for proof of concept. But why not have it create the complete icon?



Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 24, 2023, 02:15:21 PM
I will look at the archive images and see if I can create something of my own !
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 24, 2023, 03:58:25 PM
As far as Icon Image Effects I created a DropShadow Effect manually using a black image mask & gaussian blur with radius of 5. The original RGB pixels are then overlaid on the blurred mask creating the shadow effect.

But for the Glow Border it may require a custom algorithm. It has 4 bands of transparency radiating outwards. It consists of rectangular offsets with rounded edges with alpha blending against a white background. Easy breezy!  ;)
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 24, 2023, 05:44:53 PM
When you have the tools and know how to use them, anything can be created.

I am content to do manual things without using effects, with icons the less objects there are the more it will have good visibility.

In many cases complex photos are not good for icons, considering that then when you reduce them the details leave something to be desired.

I made some icons for your tools, they are simple, see if you like them:

 
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 24, 2023, 09:22:49 PM
I like IconType, IconSplit and IconPress.  :)
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 25, 2023, 01:24:11 AM
They are actually the prettiest images I could find, then I edited them to fit better.

For the Others I couldn't find any better :)

(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=4379;image)
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 26, 2023, 09:06:50 AM
They are actually the prettiest images I could find, then I edited them to fit better.

For the Others I couldn't find any better :)

(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=4379;image)

Thanks. I'd like to use them if you would attach the archive.

BTW I'm working on a technique to add Drop Shadows and Glow Borders programmatically. I probably won't add a menu system to IconPress because with the small icon tools I prefer the KISS approach (keep it super simple).

But I may add these functions indirectly. And they will be part of some of my other graphics applications.  :)

The glow border from IconEditor is a simple neon effect and it doesn't resemble the Icaros Glow Icon border. I need the glow border to be 95% to 98% accurate so that the HSL hue vales are the same so that my Tint Green & Tint Blue functions work correctly to make green & blue glows with HSL Rotation. 

So the glow border technique that I have developed is very graphics intensive but it produces impressive results. I first generate a "glow mask" using the standard HSL hue value range for the yellow glow border (hues 45-57). This is pastel yellow to olive green. The glow mask does not include the RGB pixel data of the icon image at this point. The next step is to apply a smoothing algorithm to blur the edges. The next step is post processing to lighten the glow pixels and perform alpha blending where needed. The last step is to overlay the original RGB pixel data on top of the glow mask.

So far the results are highly accurate. It's a work in progress. Attached are the sample images including the glow mask. Now you can compare the result of the generated glow border "Def_Picture_Result.png" with the original glow border "Def_Picture_Original.png".
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 26, 2023, 11:31:25 AM
Yes as soon as I create the icons I will attach the archive !

IconEditor needs to be improved, the developer told me that on AROS and OS3 it was missing an essential component that is only present on Os4.

The Glow of IconEditor in my opinion is better than the Ken Glow Icons also used by icarOS, only IconEditor uses only one hue, it would be enough to make a blend of rays to get a more appealing glow.

In the future I will certainly use your tools to create or improve the quality of my Icons
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on February 26, 2023, 01:53:40 PM
I created the second faces for all the icons, and then tried to improve the icons you didn't like :)

I attach Icons archive


(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=4408;image)
Title: Re: IconPress Icon Maker
Post by: miker1264 on February 26, 2023, 07:22:55 PM
Testing some color variations.
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 01, 2023, 02:06:16 PM
I was experimenting with alternate drawer icons.

This is the Silver Series.

I particularly like the pastel icons on the bottom as well as the bright blue & medium blue icons on top.

If these are appealing I will make some more PNG Icons.  ;)

What do you think?
Title: Re: IconPress Icon Maker
Post by: Amiwell on March 01, 2023, 02:31:40 PM
great miker good job :)
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on March 01, 2023, 03:58:23 PM
miker are elegant and professional !
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 02, 2023, 03:10:57 PM
Here are some Ram Disk Icons for you to use.

The black icon is the original def_Ram icon. The two purple Motorola Icons I painted myself. The circuit board images were borrowed from Linux to make an icon.

Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on March 02, 2023, 03:42:47 PM
Very Nice, the Icon with the circuit board was installed on AROS one, I found it on the Web, above the Cip was drawn a note, on AROS One 2.0 it has been changed now it is round and it is inserted in a ring
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 03, 2023, 10:21:43 AM
Very Nice, the Icon with the circuit board was installed on AROS one, I found it on the Web, above the Cip was drawn a note, on AROS One 2.0 it has been changed now it is round and it is inserted in a ring

Thank you. Some of your earlier icons such as for AROS One 68k version 1.2 are very appealing to me.

Although the Folder Icons & 3D Button Icons you currently use are also nice if you like that style. I do however like the Flat Button Style (Squared Icons) such as for PNG, BMP, etc. The simplistic look & feel is very nice.

Your custom icons require a lot of work to maintain them & make new icon sets. Your time is much appreciated.
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 03, 2023, 10:27:37 AM
Rather than start a new topic I will just mention it here.  ;)

I've decided to add another small icon app called "IconTint". It can be used at the command line or in a display window.

I have the working code in my main graphics program but it needs some enhancement. It does just what the name implies - it changes the default Neon Yellow (Gold?) glow border of an icon image to either Neon Blue, Green, Red, Orange or Purple and it allows you to save the new image.

I use it often and I thought it may be useful for others. It will be posted when finished. It will use a small window with a menu. No user interface needed which makes it easier.

I could give a lengthy explanation as to how I discovered this technique and how it works. Maybe I'll add that later. Brief explanation: it involves HSL Color Rotation of the hue values in an original glow border (hue range 46-57 degrees). We simply supply a new hue value to add to these values.

Let me know if this seems useful.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on March 03, 2023, 11:49:05 AM
Great App, question, possibly you will be able to use it to change the glow color on an icon set? if it will be possible I will put it on each Icon Set, that way, from icon with a script you can install the Icon Set, is then with a second icon change the Glow.

The Icons of AROS One 68k v1.2 were not icons created by me, I had taken them from HERE (https://amiga-look.org/artwork/farosenza-icon-pack), then in order not to have copyright issues, I preferred to create them myself.

Title: Re: IconPress Icon Maker
Post by: miker1264 on March 03, 2023, 11:58:34 AM
Great App, question, possibly you will be able to use it to change the glow color on an icon set? if it will be possible I will put it on each Icon Set, that way, from icon with a script you can install the Icon Set, is then with a second icon change the Glow.

The Icons of AROS One 68k v1.2 were not icons created by me, I had taken them from HERE (https://amiga-look.org/artwork/farosenza-icon-pack), then in order not to have copyright issues, I preferred to create them myself.

Thanks for the icon information. I will have a look.  :)

As for changing the glow border tint for AROS One icons you would need a slightly modified IconTint app that will account for the hue ranges for your custom icon images.

Kens Icons (aka Icaros PNG Glow Icons) have a specific range of hue values. I would need to identify the hue range for your icons. Maybe send me some sample icons one for each glow border tint color (red,blue,green,yellow,orange, purple). Then I can find the hue ranges. Anything is possible. As far as batch mode - why not. It's possible.

But IconTint only works with PNG icon images not complete icons. So we need another tool to "split" the icon. I noticed that in System:c we have "join" but no "split". Someone should write an icon split command line app.  :P

So here is the simplified process. Icon split, icon tint, icon join, icon exchange.

But it all takes time. Thanks for your patience.  :)
Title: Re: IconPress Icon Maker
Post by: magorium on March 03, 2023, 02:33:38 PM
But IconTint only works with PNG icon images not complete icons. So we need another tool to "split" the icon. I noticed that in System:c we have "join" but no "split". Someone should write an icon split command line app.  :P

So here is the simplified process. Icon split, icon tint, icon join, icon exchange.
Pardon the intrusion as i have not read/understood the whole discussion.

The icons that AMIGASYSTEM referred to (farossenza) in his last post /are/ png icons and also I seem to not understand the icon "split".

Split what exactly from where to where ?
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on March 03, 2023, 02:40:57 PM
@magorio
Split the two images (2 faces) that make up the DualPNG Icons.

@miker
The Split Command exists on AROS x86, you can find it in Development/Bin
Also With Icon Editor on Icons DualPNG, you can extract individual images separately !
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 03, 2023, 03:22:03 PM
But IconTint only works with PNG icon images not complete icons. So we need another tool to "split" the icon. I noticed that in System:c we have "join" but no "split". Someone should write an icon split command line app.  :P

So here is the simplified process. Icon split, icon tint, icon join, icon exchange.
Pardon the intrusion as i have not read/understood the whole discussion.

The icons that AMIGASYSTEM referred to (farossenza) in his last post /are/ png icons and also I seem to not understand the icon "split".

Split what exactly from where to where ?

I did find the farosaenza archive. I also discovered that "Faenza" is an icon style (Squared Icons). Cool.  8)

Split will split either a PNG icon into two PNG images or a Classic Amiga Icon into ILBM images saved to Ram Disk.

Maybe "Icon Split" is a better name for what I'm envisioning.

I suppose I could include a command line switch --i with IconTint to indicate that the filename that follows is an icon file instead of an icon image. IconTint would then split the images, tint the glow border, recombine the images & perform a simple icon exchange with the original icon.

That seems like a lot of extra processing. But it makes sense that we should be able to tint an image or an icon.
Title: Re: IconPress Icon Maker
Post by: magorium on March 03, 2023, 04:16:09 PM
@AMIGASYSTEM
@miker1264
Thank you both for the explanation.

@miker1264:
In theory things can be very simply when you load the icons using the standard icon library functionality as it allows access to either the old style or new style bitmap data.

If it would really help you to have them separated in different files then I could take a look on how to do that but in that case I would not rely on amiga/aros specific libraries so that such a tools could be used in a platform agnostic manner (that way I am able to gain something out of it as well but in doing so it will take a bit more time).

PS: I do not lnow if you are aware but please also have a look at the processicon tool (http://archives.aros-exec.org/?function=showfile&file=utility/workbench/processicon.i386-aros.zip). It is perhaps not exactly what you are looking for but it offers a lot of functionality for icons from the cli. As a bonus the sources are included.
Title: Re: IconPress Icon Maker
Post by: miker1264 on March 03, 2023, 04:41:49 PM
@AMIGASYSTEM
@miker1264
Thank you both for the explanation.

@miker1264:
In theory things can be very simply when you load the icons using the standard icon library functionality as it allows access to either the old style or new style bitmap data.

If it would really help you to have them separated in different files then I could take a look on how to do that but in that case I would not rely on amiga/aros specific libraries so that such a tools could be used in a platform agnostic manner (that way I am able to gain something out of it as well but in doing so it will take a bit more time).

PS: I do not lnow if you are aware but please also have a look at the processicon tool (http://archives.aros-exec.org/?function=showfile&file=utility/workbench/processicon.i386-aros.zip). It is perhaps not exactly what you are looking for but it offers a lot of functionality for icons from the cli. As a bonus the sources are included.

magorium
Icon Library has IconControl functions to access the icon images from whichever icon file the icon library can load.

I have seen procession & modifyicon. I gained some understanding about how to access Amiga Icon data from studying those two applications. I still refer to them from time to time to verify that I'm accessing the data correctly.

If you could write a program that splits PNG Icons or Classic Icons that would be great. If you could compile it for Windows & AROS that's even better. Many times on Windows I have to use the Hex Editor to do it.

For AROS I have a method to split PNG icons but that is still a work in progress. It works but it needs more refinement.

Title: Re: IconPress Icon Maker
Post by: magorium on March 04, 2023, 12:56:56 PM
For further discussion with regards to icon image splitting see https://ae.amigalife.org/index.php?topic=1090.msg15008#new
Title: Re: IconPress Icon Maker
Post by: miker1264 on July 04, 2023, 02:39:24 PM
As far as IconPress I was recently working on it to try to re-discover how I successfully saved a Dual PNG Icon from two input images.

The testing was on a native installation of AROS on a 24" monitor which makes a huge difference from the small screen size on VirtualBox on my laptop!

TinyAros was being used for editing, compiling and testing which also makes things easier. After some effort I successfully saved a PNG Icon using the command line. It's just one small step but I couldn't post it because I need to install the screen grabber application to take screenshots.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 04, 2023, 03:14:04 PM
ScreenGrabber is part of the operating system, no need to install it !
Title: Re: IconPress Icon Maker
Post by: miker1264 on July 04, 2023, 05:05:46 PM
ScreenGrabber is part of the operating system, no need to install it !

Thanks for the information. I will locate it so I can use it next time.

I'm in the process of making some customizations as far as icons and window themes. I'm trying to make a window theme. We'll see how that goes. If successful then I may make more in the future.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 04, 2023, 06:15:39 PM
On AROS there is a Theme Editor, you can find it on AROS One x86, but in my opinion it is too difficult to use, I create the Themes manually.


(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=5107;image)
Title: Re: IconPress Icon Maker
Post by: Amiwell on July 05, 2023, 02:53:12 AM
Miker screengrabber is on tools drawer and also on boingiconbar

(https://i.ibb.co/kQmFY7s/screengrabber.jpg)
Title: Re: IconPress Icon Maker
Post by: ilBarbax on July 05, 2023, 03:03:49 AM
On AROS there is a Theme Editor, you can find it on AROS One x86, but in my opinion it is too difficult to use, I create the Themes manually.


(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=5107;image)
Hi i'm the author of Themedit.
It is a project on hold since long time however i have an almost completed improved version on my drawer. This verson is improved in the theme conversion betwen the 3 os.
Title: Re: IconPress Icon Maker
Post by: miker1264 on July 05, 2023, 03:13:06 AM
On AROS there is a Theme Editor, you can find it on AROS One x86, but in my opinion it is too difficult to use, I create the Themes manually.


(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=5107;image)
Hi i'm the author of Themedit.
It is a project on hold since long time however i have an almost completed improved version on my drawer. This verson is improved in the theme conversion betwen the 3 os.

Nice.  :)

It looks very interesting.

So the new version can convert from one theme type to another such as OS4 to AROS ?

Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 05, 2023, 11:27:36 AM
It is not a new version !
Title: Re: IconPress Icon Maker
Post by: miker1264 on July 05, 2023, 11:39:32 AM
It is not a new version !

He mentioned he had a newer version that hasn't been released.

It would be nice to be able to convert between theme styles.

Although making new window themes manually is more fun!
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 05, 2023, 12:25:31 PM
I tried to load OS4 themes but they are not supported, probably Theme Editor can only export to the various OS.

As said it is not easy to use it, you need to have some experience, yes manually is fun although again it is not easy to synchronize all parts, it takes a lot of time and patience.
Title: Re: IconPress Icon Maker
Post by: ilBarbax on July 06, 2023, 02:00:45 AM
On AROS there is a Theme Editor, you can find it on AROS One x86, but in my opinion it is too difficult to use, I create the Themes manually.


(https://ae.amigalife.org/index.php?action=dlattach;topic=963.0;attach=5107;image)
Hi i'm the author of Themedit.
It is a project on hold since long time however i have an almost completed improved version on my drawer. This verson is improved in the theme conversion betwen the 3 os.

Nice.  :)

It looks very interesting.

So the new version can convert from one theme type to another such as OS4 to AROS ?

Yes it can
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 06, 2023, 03:31:21 AM
It is a project on hold since long time however i have an almost completed improved version on my drawer. This verson is improved in the theme conversion betwen the 3 os.

Thanks ilBarbax, when will the new version be available for download ?
Title: Re: IconPress Icon Maker
Post by: ilBarbax on July 07, 2023, 02:22:30 AM
It is a project on hold since long time however i have an almost completed improved version on my drawer. This verson is improved in the theme conversion betwen the 3 os.
Thanks ilBarbax, when will the new version be available for download ?
I stop working on it at least 4 years ago now to complete it would be like restart the project that should be also  reviewed completely (consider that at the time Rapagui was nor existing).  I think it is unusefull to release it as it is now.
Title: Re: IconPress Icon Maker
Post by: AMIGASYSTEM on July 07, 2023, 02:27:13 AM
Okay thank you