Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preresize or Padding feature #312

Open
andreapernici opened this issue Oct 8, 2021 · 4 comments
Open

Preresize or Padding feature #312

andreapernici opened this issue Oct 8, 2021 · 4 comments

Comments

@andreapernici
Copy link

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?

@GitBoudewijn
Copy link

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

@andreapernici
Copy link
Author

I think the result could be the same yes.

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

@andrieslouw
Copy link
Member

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

@andreapernici
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants