]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 6 Dec 2011 15:14:45 +0000 (15:14 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 6 Dec 2011 15:14:45 +0000 (15:14 +0000)
MagickCore/effect.c
PerlMagick/demo/demo.pl

index d759f309efb67c917838aa848df9c7c6c0a1ac9d..208620b3c4beff34ca9c96634e638cf7a29c35bf 100644 (file)
@@ -1796,7 +1796,7 @@ MagickExport Image *EdgeImage(const Image *image,const double radius,
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   assert(exception != (ExceptionInfo *) NULL);
   assert(exception->signature == MagickSignature);
-  width=GetOptimalKernelWidth2D(radius,sigma);
+  width=GetOptimalKernelWidth1D(radius,sigma);
   kernel_info=AcquireKernelInfo((const char *) NULL);
   if (kernel_info == (KernelInfo *) NULL)
     ThrowImageException(ResourceLimitError,"MemoryAllocationFailed");
@@ -1886,7 +1886,7 @@ MagickExport Image *EmbossImage(const Image *image,const double radius,
     (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
   assert(exception != (ExceptionInfo *) NULL);
   assert(exception->signature == MagickSignature);
-  width=GetOptimalKernelWidth2D(radius,sigma);
+  width=GetOptimalKernelWidth1D(radius,sigma);
   kernel_info=AcquireKernelInfo((const char *) NULL);
   if (kernel_info == (KernelInfo *) NULL)
     ThrowImageException(ResourceLimitError,"MemoryAllocationFailed");
index a5fb68f8660a55365360ed2bd1d7bf63e87a139d..0363ba2c9f5beda812d56f29d2feee1a89cb42a9 100644 (file)
@@ -100,7 +100,7 @@ push(@$images,$example);
 print "Charcoal...\n";
 $example=$model->Clone();
 $example->Label('Charcoal');
-$example->Charcoal('0x1');
+$example->Charcoal('2x0.5');
 push(@$images,$example);
 
 print "ColorMatrix...\n";
@@ -162,7 +162,7 @@ push(@$images,$example);
 print "Detect Edges...\n";
 $example=$model->Clone();
 $example->Label('Detect Edges');
-$example->Edge();
+$example->Edge('2x0.5');
 push(@$images,$example);
 
 print "Emboss...\n";