Created
September 5, 2011 00:06
-
-
Save smerrill/1193749 to your computer and use it in GitHub Desktop.
GraphicsMagick compatibility shim for use with Drupal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Save this file as 'convert' and point Drupal at it at /admin/config/media/image-toolkit | |
[[ $1 == 'version' ]] && { | |
gm $1 | |
} || { | |
gm convert $@ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment