composite and backgroud problem

MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: composite and backgroud problem

Post by Bonzo »

The Imagemagick explanation is here: http://www.imagemagick.org/script/comma ... hp#unsharp

It is used a lot in photography: http://en.wikipedia.org/wiki/Unsharp_masking

It can introduce noise to the image if overused.

alfredopacino
Posts: 14
Joined: 2011-01-28T06:58:45-07:00
Authentication code: 8675308

Re: composite and backgroud problem

Post by alfredopacino »

im sorry for annoing u again

i trying to edit files path and seems like not work
exec("convert -size 100x100 xc:white \( -density 300 \"{$strPDF}[0]\" -thumbnail 100x100 -unsharp 1.5x1+0.7+0.02 \) -gravity center -composite pdf_icon.png -gravity southeast -composite \"docs/thumbs/".$doc->getData('dmfilename').".jpg\" 2>&1", $array);
ps: dont care about $doc->getData('dmfilename'), its a string


EDIT: ok resolved..it was a cache problem, i guess
thanks again :D

Locked