Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
thehunter
Post
by thehunter » 2017-02-07T11:05:00-07:00
Hi!
I need to blend a image with -hardlight.
But how to do thin in PHP?
I tryed many thing:
Code: Select all
$img->setImageArtifact('compose:args', 'hard-light');
$imga->setImageArtifact('compose:args', 'hardlight');
$img->setImageArtifact('compose:hard-light', true);
$img->setImageArtifact('compose:hardlight', true);
$img->setImageArtifact('compose:hard-light', 'true');
$img->setImageArtifact('compose:hardlight', 'true');
$img->setImageArtifact('compose:args', 'hard-light');
Thanks a lot.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Contact:
Post
by snibgo » 2017-02-07T11:38:50-07:00
Compositing with hardlight doesn't need an artifact. Just use compositeImage with COMPOSITE_HARDLIGHT.
Users browsing this forum: Google [Bot] , Semrush [Bot] and 10 guests