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

Allow resizing images to keep full image instead of cropping #135

Open
makermelissa opened this issue May 6, 2024 · 0 comments
Open

Allow resizing images to keep full image instead of cropping #135

makermelissa opened this issue May 6, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@makermelissa
Copy link
Contributor

makermelissa commented May 6, 2024

Add options to process_image so images can be added on top of background rather than just cropped. I think now that we have bitmap tools, this may be possible, though the images downloaded via the image formatter service are being loaded as ondiskbitmaps to conserve memory and bitmap tools requires the bitmaps to fully be loaded into memory.

Another option (and perhaps it already exists since there doesn't appear to be documentation) is to add a parameter to the image formatter service to let it know what color of background we would like and that would solve the issue.

See https://forums.adafruit.com/viewtopic.php?p=1014450 for more info.

@makermelissa makermelissa added the enhancement New feature or request label May 6, 2024
@makermelissa makermelissa changed the title Allow resizing images to Allow resizing images to keep full image instead of cropping May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant