jimp-dev/jimp
Ver no GitHubHow to align with percentages in cover and contain?
Open
#740 aberto em 20 de mai. de 2019
enhancementhelp wanted
Métricas do repositório
- Stars
- (13.218 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Expected Behavior
I want to align an image as I would in browser with following css:
object-fit: cover;
object-position: center 20%;
Current Behavior
cover() only excepts alignBits