h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

Home Page:https://fly.io/docs/app-guides/run-a-global-image-service/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant fully extend image

perrivdb opened this issue · comments

If I have an image of 520 x 600 pixels and I want to resize that into an image that is 550px wide with an aspect ratio of 3:4, is there a way to extend the image with white pixels both horizontally as vertically?

I don't want the image to be stretched and lose its quality.