Skip to main content
rob2e
Known Participant
June 24, 2018
Answered

Photo bulk resize, but with condition of not enlarging, can't figure it out?

  • June 24, 2018
  • 1 reply
  • 6153 views

I'm using File>Scripting>Image Processor to resize photos. It works great, but I don't want photos SMALLER than my specified parameters to be enlarged.  Can't figure out how to stop that from happening.

 

Any help is greatly appreciated.

 

Rob

This topic has been closed for replies.
Correct answer Bojan Živković11378569

No, I do not want distortion, I have many images, over 100 sometimes for projects that I do. I need ALL of those images to be no more than 1000px wide or 700 px high. Some are smaller than that so they should not be changed (enlarged). Some need to have height reduced, some need width reduced, some need both, it just depends on the size of the image. Hence my and/or logic,

When I tried using photoshop image processor, it does EVERYTHING perfectly according to my logic EXCEPT it will increase smaller pictures to the larger 700 px. When I use Image Processor Pro, it only does the 700 OR 1000, so it sometimes doesn't conform to what I want.  It's very frustrating.


I have tested with the latest version of Photoshop and it is not increasing smaller files. However, as previously explained you can record action.

Just to point to something: When I use Image Processor Pro, it only does the 700 OR 1000, so it sometimes doesn't conform to what I want.  It's very frustrating. It seems that we still do not understand what exactly you want. Image which is 1500x1000px will be reduced to 1000x667 pixels not to 1000x700px, thats how things works without to distort images. Do you expect the image to be cropped to 1000x700px from the center or something similar?

If you want ready made action please download it from here Resize to fit.atn - Google Drive

Load action in Photoshop (double click on downloaded file or go to File > Open navigate to Resize to fit.atn and double click on that file.

In Image Processor uncheck Resize to Fit. At the bottom check Run Action and then point to Resize to fit set and Resize to fit image 1000x700px action as shown below. The rest is on you, which images to process and in which folder to save.

1 reply

JJMack
Community Expert
Community Expert
June 25, 2018

Either create a batch action the you use Plig-in File>automate>Fit image and use its option do not enlarge, Or download the Plig-in and install Image Processor Pro.... see what resize optioms it has.

JJMack
rob2e
rob2eAuthor
Known Participant
June 25, 2018

Hmm Image Processor Pro, let me look into that...

 

 

This worked okay, but it seemingly treats the parameters as "or" rather than "and/or", so it's still not quite what I need.

JJMack
Community Expert
Community Expert
June 25, 2018

I do not understand "and/or" it is resize if the resize image will be a smaller image do not resize if the reszed image will be up sized.  Its downsize  only do not upsize.

you wrote "I don't want photos SMALLER than my specified parameters to be enlarged. "

An option like fit image don't Enlarge

Images will fit within the resize area and not be distorted they will retain their aspect ratio.  Image that have the aspect ratio of the area will fill the area other resized images will be as wide or as high as the area the other side will not fill the width or height.  Small images will not be resized.

If you want to change images to have the same size and Aspect ratio of the area. You would need to use something liked content aware resize.  It will distort all image with different aspect ratio into an image that size. There is no don't enlarge option.  Image with the area aspect ratio should not distort.

Fit Image and Image Processors are coded not to distort image during resize they retain the image asoect ratio,

JJMack