---
title: "Discussion on \"Validate Portrait Export Ratios with Integer Cross-Products in Node.js\" | Hashnode"
description: "Discussion on \"Validate Portrait Export Ratios with Integer Cross-Products in Node.js\". A portrait export can have the right filename and still use the wrong canvas shape. If your application stores an intended ratio beside export dimensions, a small metadata check can catch a square fil"
url: "https://hashnode.com/posts/validate-portrait-export-ratios-with-integer-cross-products-in-node-js/6aefc7f390549d45c229612f"
---

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

Discussion

# [Validate Portrait Export Ratios with Integer Cross-Products in Node.js](https://pixmind.hashnode.dev/validate-portrait-export-ratios-with-integer-cross-products-in-node-js?utm_source=hashnode&utm_medium=feed)

A portrait export can have the right filename and still use the wrong canvas shape. If your application stores an intended ratio beside export dimensions, a small metadata check can catch a square fil

2d ago · 6 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.
