PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Power Toys - Image Resizer - 2 things

Open GlenBod opened this issue 1 year ago • 4 comments

Description of the new feature / enhancement

  1. Almost what I need. The matching of the smallest dimension when resizing is what messes me up. What I want is to resize a directory full of images such that none of them are larger than, say, 1000 px in the largest direction, regardless of the orientation as long as it maintains the length/width ratio. For example: something that is 2100x3000 ends up 700x1000, while something 2000x1600 ends up 1000x800.

  2. Renaming needs more work. I can tell it to rename the images to %1 (%2) as the docs show, but I want some custom text in the new name too. I'd like the new name spec to allow %1 V2 or something like that which just appends some text on the filename. If I then leave the resized files in the source directory they will sort right behind the originals and I can see the effects of my resizing more easily.

If there are ways to accomplish these things with the Resizer "as is", then I apologize for not figuring it out and I'd appreciate some guidance to make it work the way I want it.

Scenario when this would be used?

See above, it's all there.

Supporting information

No response

GlenBod avatar Jan 05 '25 01:01 GlenBod

Hi @GlenBod

  1. You can achieve this by creating a new preset with the Fit parameter set to the default of "Fit" and values of 1000 for both Width and Height, e.g.:

Image

This will resize the larger images you mentioned to the desired dimensions. Think of it as defining a box which provides the maximum dimensions of the resized image.

If you don't want any images smaller than 1000 x 1000 pixels to be expanded, make sure you select the "Make pictures smaller but not larger" checkbox:

Image

  1. You can edit the filename format to include this custom text directly - it doesn't need to just consist of the percent numbered parameters. For example, your "%1 V2" works fine:

Image

Image

Please note: if you have the ImageResizer application open while you're also making changes in the Settings app, you'll have to close and reopen ImageResizer before it knows about your updates.

daverayment avatar Jan 17 '25 18:01 daverayment

Thanks Dave. I’ll give that a try.

Regards – Glen C Bodie

Vancouver, BC

GlenBod avatar Jan 17 '25 19:01 GlenBod

@GlenBod You're very welcome.

daverayment avatar Jan 17 '25 22:01 daverayment

@GlenBod Hi. Did you manage to get the results you were after? If so, do you mind closing this issue down, please? Otherwise, I'm happy to help further, if I can.

daverayment avatar Mar 08 '25 01:03 daverayment