@DigitalDesigns
Thats why i mentioned the AREXX port, you need to write a little program, for it, like below
/*
IBS.rexx
icon batch scale a bunch of icons
*/
PARSE ARG _icon,_sizeW,_sizeH
/*
bail out if something is missing
*/
IF _icon='' THEN EXIT
IF _sizeW='' THEN EXIT
IF _sizHH='' THEN EXIT
/*
load IconEditor if it isn't running
*/
IF ~SHOW(PORTS,'ICONEDITOR') THEN DO
ADDRESS COMMAND 'run >NIL: APPDIR:IconEditor'
ADDRESS COMMAND 'WAITFORPORT ICONEDITOR'
END
/*
resize the icon and rename it to not overwrite the original
*/
ADDRESS 'ICONEDITOR'
'LOAD' '"'_icon'"'
'SCALE' Width _sizeW Height _sizeH
'SAVEICON' _icon'_'_sizeW'x'sizeH'.info'
EXIT
The above is NOT tested, probably full of bugs, but you get the idea.
You can personalize it and use even more commands, see below
Quote:
ARexx Commands (Port name: ICONEDITOR):
*HIDE (Hides the GUI)
*SHOW (Shows the GUI)
*QUIT (Closes the program)
*LOAD (Example: LOAD "Ram Disk:New.info")
*SAVEICON (Example: SAVEICON "Ram Disk:Test")
*SAVEIMAGE (Example: SAVEIMAGE "Ram Disk:New.png")
*SCALE (Example: SCALE Width 64 Height 72)
*ROTATE (Example: ROTATE "-45")
*FLIP_H (Flips the image horizontally)
*FLIP_V (Flips the image vertically)
*BLUR (Example: BLUR 2)
*SHARPEN (Example: SHARPEN 2)
*TINT (Color in hexadecimal notation and amount from 1 to 255; Example: TINT
Color FF00FF Amount 130)
*LOADPDF (Example: LOADPDF '"Ram Disk:Test.pdf"' Page 1 Size 76)
If you got a working version (with one icon) then go ahead and create a DOS batch file that automates the process, like so (or similar
list my_dir_with_icons:#? ALL LFORMAT='IBS.rexx %p%n 64 64' > myBatchScaleScript.bat
Then you only have to execute the .bat and everything else is automated (did that with 3500+ .mp3 cover images, so i know it works.
unfortunately i don't have access to my backup, so i cannot send you the working script, but again, you'll get the idea)
edit: fixed some mistakes, should work now

Edited by Raziel on 2025/2/9 16:07:47