The new Image Processing features in 0.119.x are pretty slick!
Nice work!
I’m trying to take an existing square image, with a transparent background and add wings to it…
say, for example, I have a 512x512 image…
I want to have a 310x150 “wide format” card…
my plan was to reduce to 150x150 and add 80px on either side to increase the asset dimensions to 310x150, while still maintaining the entirety of the image.
(IOW: No cropping desired)
looking at the underlying imaging package it seems like it should be functionally possible to create a new ‘empty’ image construct with the desired dimensions (310x150) and place the 150x150 asset into the wider image, and mint a new image.
however it doesn’t seem like that end result is attainable with the methods available currently…
I tried:
512x512 → resize ( 150x150) and then
150x150 → crop(310x150) (150x150 image result)
150x150 → fill(310x150) (310x150 image result, zoomed)
150x150 → fit(310x150 ) (150x150 image result)
150x150 → resize(310x150) (310x150 image result, stretched)
Am I missing something? Is this functionality that should exist, and doesn’t? or functionality that causes more confusion/problems than it solves? or…
I looked here on the forums, and on github for issues/questions around this topic, but didn’t find any matches… but then again, it’s entirely possible that I’m just bad at searching; so if this is a repeat question, mea culpa.
W