Page 1 of 1

tilt-shiftin via PerlMagick

Posted: 2015-06-22T01:47:39-07:00
by Readbook
Hi.
how use these effect:
http://www.imagemagick.org/Usage/photos/#tilt_shift
in perlmagick?
I succesfully use simple command like

Code: Select all

    $image->Set('gamma'=>'0.75');
	$image->Modulate(100,300);
	$image->Contrast();
	
	$new=$image->Clone();

but, how i can use these command?

Code: Select all

-sparse-color Barycentric "0,0 black 0,%h white" -function polynomial 4,-4,1 -level 0,50%