Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Icon theme
#4
A least that is a Gimp solution. Best I could come up with is a ImageMagick script

That is one monster task. The Yaru theme is a monster: 140 folders / 5787 files / 11428 items (lots of symbolic links) a script to do all at once is beyond me.

Suggest one file at a time, as they are created. A project folder with the size folders then for any 256x256 icon a script to resize and put in the appropriate folder.

Code:
#!/bin/bash

convert $1 -resize 48x48 ~/temp/48/$1
convert $1 -resize 32x32 ~/temp/32/$1
#...as many different sizes as you like..as long as there is a folder
convert $1 -thumbnail 24x24 ~/temp/24/$1
convert $1 -interpolate Integer -filter point -resize 8x8 ~/temp/8/$1

Those tiny sizes are a problem, a regular resize just leaves a smudge so slight changes. 8x8 is still a problem.

Remember the filename parameter autocompletes so not a lot of typing required

This a screenshot of my try-out.


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Icon theme - by meetdilip - 02-09-2023, 06:24 AM
RE: Icon theme - by Ofnuts - 02-09-2023, 01:01 PM
RE: Icon theme - by meetdilip - 02-09-2023, 01:18 PM
RE: Icon theme - by rich2005 - 02-09-2023, 02:22 PM
RE: Icon theme - by meetdilip - 02-09-2023, 06:25 PM
RE: Icon theme - by rich2005 - 02-09-2023, 06:41 PM
RE: Icon theme - by meetdilip - 02-10-2023, 03:13 AM

Forum Jump: