---
title: "Discussion on \"Pad, Don't Crop: Letterboxing a Photo Batch to a Target Aspect Ratio in Swift\" | Hashnode"
description: "Discussion on \"Pad, Don't Crop: Letterboxing a Photo Batch to a Target Aspect Ratio in Swift\". When a shop or a photographer needs every photo in a set to be 4:5, or 1:1, or 16:9, the usual answer is to crop. Cropping is honest when you meant to recompose. It is a bad default when the subject w"
url: "https://hashnode.com/posts/pad-don-t-crop-letterboxing-a-photo-batch-to-a-target-aspect-ratio-in-swift/6b0f7f69f3c809e57dc2b4ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pad, Don't Crop: Letterboxing a Photo Batch to a Target Aspect Ratio in Swift](https://maxwelldispatch.hashnode.dev/pad-don-t-crop-letterboxing-a-photo-batch-to-a-target-aspect-ratio-in-swift?utm_source=hashnode&utm_medium=feed)

When a shop or a photographer needs every photo in a set to be 4:5, or 1:1, or 16:9, the usual answer is to crop. Cropping is honest when you meant to recompose. It is a bad default when the subject w

4d ago · 8 min read · maxwelldispatch.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#ios](https://hashnode.com/tag/ios)
-   [#image-processing](https://hashnode.com/tag/image-processing)
-   [#core-graphics](https://hashnode.com/tag/core-graphics)
-   [#mobile](https://hashnode.com/tag/mobile)

## Written by

[Maxwell](https://hashnode.com/@maxwelldispatch)

@maxwelldispatch

  
[View profile](https://hashnode.com/@maxwelldispatch)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
