Changeset 11648 for ImageMagick/trunk

Show
Ignore:
Timestamp:
07/16/08 22:51:19 (3 months ago)
Author:
anthony
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/magick/distort.c

    r11647 r11648  
    549549        } 
    550550      } 
    551       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     551      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    552552        double *inverse = AcquireQuantumMemory(8,sizeof(coefficients[i])); 
    553553        if (inverse == (double *) NULL) { 
     
    589589      } 
    590590      InvertAffineCoefficients(arguments, coefficients); 
    591       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     591      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    592592        fprintf(stderr, "Affine Reverse Map\n"); 
    593593        fprintf(stderr, "  -fx 'xx=%+lf*i %+lf*j %+lf;\n", 
     
    683683      coefficients[8] = (coefficients[8] < 0.0) ? -1.0 : +1.0; 
    684684 
    685       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     685      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    686686        double *inverse = AcquireQuantumMemory(8,sizeof(coefficients[i])); 
    687687        if (inverse == (double *) NULL) { 
     
    724724      } 
    725725      InvertPerspectiveCoefficients(arguments, coefficients); 
    726       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     726      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    727727        fprintf(stderr, "Perspective Reverse Map\n"); 
    728728        fprintf(stderr, "  -fx 'xx=%+lf*i %+lf*j %+lf;\n", 
     
    799799        return((double *) NULL); 
    800800      } 
    801       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     801      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    802802        fprintf(stderr, "Bilinear Reverse Map\n"); 
    803803        fprintf(stderr, "  -fx 'xx=%+lf*i %+lf*j %+lf*i*j %+lf;\n", 
     
    870870        return((double *) NULL); 
    871871      } 
    872       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     872      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    873873        fprintf(stderr, "Polynomial (order %lg, terms %lg) Reverse Map\n", 
    874874             coefficients[0], coefficients[1]); 
     
    990990      coefficients[5]=y-nx*coefficients[1]-ny*coefficients[3]; 
    991991 
    992       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     992      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    993993        double *inverse = AcquireQuantumMemory(8,sizeof(coefficients[i])); 
    994994        if (inverse == (double *) NULL) { 
     
    10781078      } 
    10791079      coefficients[4] = (1.0*image->columns-1.0)/2.0; 
    1080       if ( GetImageArtifact(image,"distort:verbose") != (const char *) NULL ) { 
     1080      if ( GetImageArtifact(image,"verbose") != (const char *) NULL ) { 
    10811081        fprintf(stderr, "Arc Reverse Map\n"); 
    10821082#if 0 
     
    15241524          if ( point.y > MagickEpsilon ) 
    15251525            ScaleResampleFilter( resample_filter[id], 
    1526                 coefficients[1]/(2*MagickPI)/point.y, 0, 0, coefficients[3] ); 
     1526                coefficients[1]/(2*MagickPI*point.y),0,0,coefficients[3] );  
    15271527          else 
    15281528            ScaleResampleFilter( resample_filter[id],