# OS X: batch processing different size images by taking fixed cm off width and height

**URL:** <https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554>\
**Category:** Factual Questions\
**Created:** [June 5, 2016, 10:15am UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554 "2016-06-05T10:15:05Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![pulykamell](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pulykamell/32/3166_2.png) [@pulykamell](https://boards.straightdope.com/u/pulykamell)\
**Post date:** [June 6, 2016, 1:49pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/21 "2016-06-06T13:49:04Z")

</div>

> [@DCnDC](#):
>
> Why can’t you just use Preview?

How? I don’t see any way to set up a batch process to do what he wants.

---

<div class="post-metadata">

**Author:** ![DCnDC](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dcndc/32/2842_2.png) [@DCnDC](https://boards.straightdope.com/u/DCnDC)\
**Post date:** [June 6, 2016, 1:58pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/22 "2016-06-06T13:58:48Z")

</div>

> [@pulykamell](#):
>
> How? I don’t see any way to set up a batch process to do what he wants.

Open all the images in Preview, select them all in the sidebar, use Adjust Size to change the size of all of them.

Am I misreading something in the OP?

---

<div class="post-metadata">

**Author:** ![pulykamell](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/pulykamell/32/3166_2.png) [@pulykamell](https://boards.straightdope.com/u/pulykamell)\
**Post date:** [June 6, 2016, 2:35pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/23 "2016-06-06T14:35:04Z")

</div>

> [@DCnDC](#):
>
> Open all the images in Preview, select them all in the sidebar, use Adjust Size to change the size of all of them.
> 
> Am I misreading something in the OP?

He doesn’t want them at a fixed size. See my posts and his above. He has a folder of images in all different sizes that he wants to reduce by 2.5cm in one dimension and 2.7 cm in the other, without cropping and not constraining for aspect ratio. I’m not entirely sure I understand why, but that’s what’s being asked. So, basically, resize to original X dimension - 2.5cm and original Y dimension - 2.7 cm, do not crop, stretch to fit. And the X dimensions and Y dimensions within the same folder will vary, so it’s not a fixed width and height he wants it resized to, but a relative width and height.

---

<div class="post-metadata">

**Author:** ![DCnDC](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dcndc/32/2842_2.png) [@DCnDC](https://boards.straightdope.com/u/DCnDC)\
**Post date:** [June 6, 2016, 3:31pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/24 "2016-06-06T15:31:35Z")

</div>

I see.

---

<div class="post-metadata">

**Author:** ![DinoR](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dinor/32/2821_2.png) [@DinoR](https://boards.straightdope.com/u/DinoR)\
**Post date:** [June 7, 2016, 12:35am UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/25 "2016-06-07T00:35:23Z")

</div>

> [@coremelt](#):
>
> yeah I’ve done some bash scripting at various stages.

Since you’ve done some scripting, it might be worth looking at Python and rolling your own. I know there are libraries specifically dealing with image manipulation. In the tiny bit I’ve dabbled with Python, I’ve never done image related tasks so that’s as much of a pointer as I can give.

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [June 7, 2016, 4:20pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/26 "2016-06-07T16:20:36Z")

</div>

> [@Bag\_of\_Mostly\_Water](#):
>
> I believe [Graphicconverter](https://www.lemkesoft.de/en/image-editing-slideshow-browser-batch-conversion-metadata-and-more-on-your-mac/) can do resize and crop via it’s scripting language, and possibly AppleScript.

This is what I’ve used since the 1980’s. Belongs on every Mac.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [June 7, 2016, 11:45pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/27 "2016-06-07T23:45:40Z")

</div>

I used Graphicconverter for years, but it stopped working when I upgraded to Mavericks, and it doesn’t seem to be available for free any more (it used to be, the business model was that the program itself was free, but that the manual for it was for sale, which suited a tinkerer just fine).

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [June 8, 2016, 2:35am UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/28 "2016-06-08T02:35:15Z")

</div>

> [@Chronos](#):
>
> I used Graphicconverter for years, but it stopped working when I upgraded to Mavericks, and it doesn’t seem to be available for free any more (it used to be, the business model was that the program itself was free, but that the manual for it was for sale, which suited a tinkerer just fine).

No, it’s always been shareware, not freeware. I think your memory is faulty.

---

<div class="post-metadata">

**Author:** ![joema](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@joema](https://boards.straightdope.com/u/joema)\
**Post date:** [June 9, 2016, 12:34pm UTC](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554/29 "2016-06-09T12:34:35Z")

</div>

> [@coremelt](#):
>
> I have a whole bunch of images as patterns for clothing. In order to get them correct for processing different folders need to be scaled down by different amounts…

Have you examined PhotoResize Pro? I’m not sure if it can do this, but it has lots of options:

> **[‎PhotoResize Pro](https://apps.apple.com/us/app/photoresize-pro/id536956866?mt=12)**
>
> ‎PhotoResize Pro is fantastic tool to resize, convert, optimize and rename thousands of images at amazingly fast speed. It offers features like image format conversion JPG, HEIC, PNG, WebP etc..., JPEG and PNG optimization, Rename tokens to give your...

[Previous page](https://boards.straightdope.com/t/os-x-batch-processing-different-size-images-by-taking-fixed-cm-off-width-and-height/756554.md?page=1)
