Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Give resource generate the capability to pad images rather than cropping them #84

Open
paulhickman-a365 opened this issue Mar 27, 2016 · 0 comments

Comments

@paulhickman-a365
Copy link

Add the moment if the resource generator has to create a rectangular image, it crops a rectangular section from the center of the supplied square source image.

It would be useful to add a 'pad' option - e.g. 'pad: "#ffffff" that supplies an RGB background colour.

When pad is used, the resource generator should create a solid rectangular image of the specified background colour and then paste the complete square source image into the center of the target.

Obviously, this would require support from the online image generator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants