Page 2 of 2

Re: composite and backgroud problem

Posted: 2011-01-29T03:36:16-07:00
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.

Re: composite and backgroud problem

Posted: 2011-01-29T06:45:56-07:00
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