---
title: "Discussion on \"Find the Shared Safe Rectangle for Two Image Crops in Node.js\" | Hashnode"
description: "Discussion on \"Find the Shared Safe Rectangle for Two Image Crops in Node.js\". A hero banner and a square tile may come from the same source image but retain different areas. Before exporting both, a layout pipeline can calculate which source pixels survive every planned crop an"
url: "https://hashnode.com/posts/find-the-shared-safe-rectangle-for-two-image-crops-in-node-js/6aefe36ab2ac115fca76fc9e"
---

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

Discussion

# [Find the Shared Safe Rectangle for Two Image Crops in Node.js](https://pixmind.hashnode.dev/find-the-shared-safe-rectangle-for-two-image-crops-in-node-js?utm_source=hashnode&utm_medium=feed)

A hero banner and a square tile may come from the same source image but retain different areas. Before exporting both, a layout pipeline can calculate which source pixels survive every planned crop an

2d ago · 7 min read · pixmind.hashnode.dev  
Read the article

## Written by

[PixMind](https://hashnode.com/@pixmind)

@pixmind

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

Practical workflows for AI image and video creation. PixMind team.

The PixMind team shares practical AI image and video workflows. PixMind brings text-to-image, reference-based creation, editing, and video tools into one workspace. Website: https://www.pixmind.io/

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
