I will look into that… problem I had even with dealing with converting “white” is that “White” is in one colorspace, as are black and grays, so I had to do some fancy conversions to make them comparable
there will be a config file installed at
applicationSupport/iconResizer/iconsize.txt
that can be used to customize the various categories
You cannot ADD new categories, just add/edit the icon sizes in each categoriy
Also, all icons are generated at 72DPI, but that config file allows you to change that if necessary
for example
<platform name= iOS>
<icon name="*" size=20 suffix="@1x" mult=1 dpi=72>
<icon name="*" size=20 suffix="@2x" mult=2 dpi=72>
<icon name="*" size=20 suffix="@3x" mult=3 dpi=72>
if iconname=“*” then the app uses the actually icon file name otherwise it uses what you put here
Size is the size the OS thinks it is
Mult is size*mult = actual icon size
so
<icon name=“*Test" size=20 suffix="@3x" mult=3 dpi=72>
would create an icon names “myIconTest_20@3x.png” the would be 60x60 at 72dpi
assuming the original image was “myIcon.png"
Downloaded and tried it out. Works well and fairly quickly. A couple of observations:
It starts producing all the selected options when you drop an image on it - there’s no “go” button. I thought it would display the dropped image then let you choose the options before proceeding. This also means you can’t see/pick the mask color from within the app before it processes it.
It saves the resulting images in a Desktop folder named after the file you dropped with “_Icons” appended. Would be better to either ask where to save it, or create said folder in the same place as the source image.
Well I modeled the workflow after others I had seen…
As to picking the color from the icon view… I’d suggest against that… as the color could very well be altered as it is scaled to the view. The color should be selected from the master image at its full size prior to handing to this app.
#2 - point taken… I’ll look into changing it to place the app folder next to the source icon. I named the folder as I did, because other apps I’ve used tended to make a folder with a static name…which tended to overwrite things.
by “Application Menu” I assume you mean the one with “About”,“Hide” and “Quit”
and the File Menu has only one entry “Close Window”
All of those (for me at least) work just fine.
What version of macOS are you using? Intel or M1?
Just checked, and the app should be a Universal Binary (Intel and M1)
As to the missing Apple Watch files… yeah that is a bug… Earlier versions used “AppleWatch” as the category name, but the config file says “watchKit” … so it never even attempts to make them… This I will fix
@DaveS The app actually crashes before any menu gets generated (e.g. click on iconRESIZER or File menu items and it immediately crashes before showing any submenu items. I’m on 11.6.0 (Big Sur) with an Intel CPU.
I don’t read French… but I am going to assume it is notifiying you that it is not NOTORIZED… which I mentioned in my first post. Go to security setting and say “Load anyways”
I will be releasing a updated version some time this weekend.
it fixes an issue I found with it not comparing mask colors correctly
it adds the ability to choose where the icons are place
a) same folder as source
b) computer desktop
c) a user specified directory
it adds the ability (for apple platforms) the ability to create the assets catalog JSON file
if this option is chosen, the icons will be placed in a subfolder in accordance with the asset format
Note : this will require the icon config file to be updated, which it will do automagically… but if have already made any manual changes, they will be wiped out