Page 1 of 1

How use compose hardlight in setImageArtifact() ?

Posted: 2017-02-07T11:05:00-07:00
by thehunter
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. :D

Re: How use compose hardlight in setImageArtifact() ?

Posted: 2017-02-07T11:38:50-07:00
by snibgo
Compositing with hardlight doesn't need an artifact. Just use compositeImage with COMPOSITE_HARDLIGHT.