Hi, i need use this code:
exec("convert ".$newfile1." 1.jpg -compose Lighten_Intensity -composite -quality 100 ".$result_image);
but i need to use (( multiply -gravity center -geometry +0+0 )) with that.
is there any solution?
thank you
Hoo use convert composite with multiply -gravity center
-
- Posts: 44
- Joined: 2014-11-28T16:19:41-07:00
- Authentication code: 6789
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Hoo use convert composite with multiply -gravity center
try
exec("convert ".$newfile1." 1.jpg -gravity center -compose Lighten_Intensity -composite -quality 100 ".$result_image);
-geometery +0+0 is not needed as that is the default
If that does not work, upload your input images and the output image to some free hosting service and put the URLs here so we can download the test ourselves.
Also what version of Imagemagick and what platform.
Please read viewtopic.php?f=1&t=9620
exec("convert ".$newfile1." 1.jpg -gravity center -compose Lighten_Intensity -composite -quality 100 ".$result_image);
-geometery +0+0 is not needed as that is the default
If that does not work, upload your input images and the output image to some free hosting service and put the URLs here so we can download the test ourselves.
Also what version of Imagemagick and what platform.
Please read viewtopic.php?f=1&t=9620
-
- Posts: 44
- Joined: 2014-11-28T16:19:41-07:00
- Authentication code: 6789
Re: Hoo use convert composite with multiply -gravity center
Hi dear fred,
I change my command line to:
exec("composite multiply -gravity center -geometry +0+0 -compose Over 1.png 2.png -quality 100 ".$result_image);
and work well.
thank you for reply.
I change my command line to:
exec("composite multiply -gravity center -geometry +0+0 -compose Over 1.png 2.png -quality 100 ".$result_image);
and work well.
thank you for reply.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Hoo use convert composite with multiply -gravity center
I would recommend you use the convert syntax. The composite syntax is shortly to be deprecated. The convert syntax has more functionality