CS5 Fit Image bug fix

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: Tom, Kukurykus

Mike Hale

CS5 Fit Image bug fix

Post by Mike Hale »

When I adapted Fit Image to not enlarge an image I used the existing docWidth and docHeight variables. It seems they were only used to determine the image aspect ratio. So the check for size fails if the doc is not 72ppi. This corrects the script that ships with Photoshop CS5.
SomeName
Posts: 2
Joined: Thu Dec 21, 2017 4:33 am

Post by SomeName »

I, like others, was looking for fixed version of Fit Image and found this thread, but it's incomplete and lacks the script itself. I read the sad story of this forum and found original thread in the Internet Archive. So, for those who are still looking for this fixed script, here it is, from original post.

Thank you, Mike Hale.
Attachments
Fit Image.zip
Fit Image bug fix by Mike Hale
(5.87 KiB) Downloaded 634 times
User avatar
Kukurykus
Posts: 528
Joined: Mon Jul 25, 2016 12:36 pm

Re: CS5 Fit Image bug fix

Post by Kukurykus »

That's strange your post from 22 dec was added after mine 24 dec :) https://www.ps-scripts.com/viewtopic.php?f=66&t=40402