Fit Image -> Don't Enlarge still enlarges images.

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

hollywood
Posts: 1
Joined: Thu Sep 21, 2017 3:18 pm

Fit Image -> Don't Enlarge still enlarges images.

Post by hollywood »

This exact topic has been discussed several times, but I have still not yet found a solution.

Here's one place.

They linked to what is apparently a fixed script for this issue, but that page is dead.

The problem is simple. I have a ton of images of extremely varying sizes, from 500x500 up to 5000x5000. I want to resize the image so that the maximum dimension is always 1500. If the image is smaller than 1500 (1200x897), no resize should occur. I check the "Don't Enlarge" box, but the images still enlarge, making them look terrible. I know I could use interpolation tools, but that's not what I want, just the resize.

This is apart of script that does a few other important things and exports several images of different sizes, so I cannot just use the image processor. The image processor also just uses the same "Fit Image" script when you check "Resize to Fit" so it doesn't work either.

I am also aware that an update might fix this, as I am running CS6 v13.0 64 bit. PS was installed on my machine by my employer when I got it, and I don't know what it would take to update it. I am fully prepared to edit the script manually in "C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Presets\Scripts\Fit Image.jsx", but I don't know javascript much at all, and not enough to fix something like this.

Image
Image

Thank you for whatever help you can offer!
SomeName
Posts: 2
Joined: Thu Dec 21, 2017 4:33 am

Re: Fit Image -> Don't Enlarge still enlarges images.

Post by SomeName »

No answers since September? What a shame. The dead link should point to this page, I believe.