PHP's IMagick composite test
Example images and code to use with own data and IMagick
This page presents all
composite methods provided by
IMagick module v3.4.3RC1 compiled with
ImageMagick 7.0.2-2. You can use the provided code to test all methods provided by your version of IMagick and using your images. This page, except this into, is a direct result of the script.
- Source code (PHP): compositeGenerator.php (PHP, 4 KiB) [show • get]
The script is universal, i.e. it supports even future methods. The code itself can be used for all purposes, including commercial one, as long as you'd attribute it to "krzysiu.net". Optionally you should provide the link to the original webpage (https://mini.krzysiu.net/composite-watermark). You can use it as well on CC BY 4.0 or LGPL 3.0
- Watermark: water.png (PNG, 9 KiB)
- Background: bg.png (JPEG, 175 KiB)