images icon indicating copy to clipboard operation
images copied to clipboard

Preresize or Padding feature

Open andreapernici opened this issue 3 years ago • 4 comments

Hi all.

Is there a way to pre-resize the image or to insert a padding?

For example if I have an image 512x512 and I want to keep it 512x512, but with the content of the image 340x340. It can be useful to create the maskable image for manifest.

Is there a way to achieve that?

andreapernici avatar Oct 08 '21 13:10 andreapernici

Wouldn't this be the same as having a border (#134) with colour transparent?

GitBoudewijn avatar Oct 08 '21 14:10 GitBoudewijn

I think the result could be the same yes.

The point is to being able to reduce the image inside a bigger container.

andreapernici avatar Oct 08 '21 14:10 andreapernici

This is needed for app manifests? Or what would the use case be?

andrieslouw avatar Oct 09 '21 13:10 andrieslouw

App manifest is one use case, but it can be useful also for other purposes.

andreapernici avatar Oct 14 '21 08:10 andreapernici