ez.no / exponential / documentation / customization / components / images / image effects
You can use the configure convert with extra command line options in settings/image.ini under the [ShellSettings] block.
A 6 pixels black border around the images:
ConvertExecutable=convert -mattecolor "#00ff00" -frame 6x6
White copyright text in the upper left corner of converted images:
ConvertExecutable=convert -font helvetica -fill white -draw "text 10,20 'Copyright me'"
Create a yellowish color on converted images:
ConvertExecutable=convert -colorize 0/0/50
Remember to clear the cache and image variations if you want the changes to apply for already existing images.
To remove image variations run the SQL command:
mysql> delete from ezimagevariation;
Note: On windows the imagemagick executable may be named convertim instead convert
Note: As reported in this bug report http://ez.no/developer/exponential_3/bug_reports/convert_command_with_custom_parameters_fails , this sometimes fails, because of two pairs of double quotes. As the bug is still open, i think, this still applies for the 3.2.-x releases.
Log in or create a user account to comment.
Comments