I want cards to not have ugly black bars, either vertical or horizontal
Some ideas:
Pre-trim the images using basic Python image manipulation to remove the parts larger than the needed image ratio? Essentially adding a preparation step before creating the cards SVG, with an intermediary image output
Specification of the need:
- I want cards to not have ugly black bars, either vertical or horizontal
Some ideas:
- Pre-trim the images using basic Python image manipulation to remove the parts larger than the needed image ratio? Essentially adding a preparation step before creating the cards SVG, with an intermediary image output
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Specification of the need:
Some ideas:
Maybe we can tell the svg to do that automatically, like the css object-fit property https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio