Skip to content
This repository has been archived by the owner on Oct 19, 2020. It is now read-only.

Ensure specified image proportions #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Ensure specified image proportions #45

wants to merge 1 commit into from

Conversation

gunar
Copy link

@gunar gunar commented Oct 2, 2015

This ensures that the output images have the correct width and height, even if icon.png has an aspect ratio different than 1 (square). Why? I got cordova errors about the images sizes before noticing my icon wasn't squared.

The exclamation mark added tells imagemagick to stick to the width and height given, no matter what, as found here. I checked compatibility with yourdeveloper/node-imagemagick and tested locally.

Thanks.

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

Successfully merging this pull request may close these issues.

1 participant