It is currently April 23rd, 2024, 12:35 pm

Batch downscaling images?

General topics related to Rainmeter.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Batch downscaling images?

Post by eclectic-tech »

Attached are the icons converted using imagemagick, converted to 500x500.

I used a command prompt command, it took about 30 seconds to convert all images:
for %I in ( *.png ) do magick "%I" -set filename: "small_%t" -resize 25% "%[filename:].png"

You could create a batch file to do this (double the % symbols).
500icon.png
Yes, you need to have imagemagick installed, but it's usefulness far outweigh the inconvenience of installing such a powerful tool.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Batch downscaling images?

Post by jsmorley »

User avatar
eclectic-tech
Rainmeter Sage
Posts: 5406
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Batch downscaling images?

Post by eclectic-tech »

That looks like a good solution if the user prefers a GUI interface :thumbup:

I am "old school", so black command boxes are what I grew up with :sly:

Some people are not as comfortable using command prompts, so having choices is a good thing. 8-)
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Batch downscaling images?

Post by jsmorley »

eclectic-tech wrote: November 19th, 2018, 2:07 pm That looks like a good solution if the user prefers a GUI interface :thumbup:

I am "old school", so black command boxes are what I grew up with :sly:

Some people are not as comfortable using command prompts, so having choices is a good thing. 8-)
Absolutely. I like ImageMagick a lot, although I have to say that the documentation for it is... horrifying...
User avatar
raiguard
Posts: 660
Joined: June 25th, 2015, 7:02 pm
Location: The Sky, USA

Re: Batch downscaling images?

Post by raiguard »

That was quite the chronicle that went down while I was sleeping!

I had installed and tried to use imagemagick myself, but the command that was shown on the example page that ET linked was invalid and I didn't have the necessary knowledge to be able to figure out the problem. So, thanks again!

I'll try these out when I get home and get back to you.
”We are pretty sure that r2922 resolves the regression in resolution caused by a reversion to a revision.” - jsmorley, 2017