Changeset 6790
- Timestamp:
- 02/09/12 08:58:31 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/branches/ImageMagick-6.7.5/coders/tiff.c
r6779 r6790 41 41 */ 42 42 #include "magick/studio.h" 43 #include "magick/artifact.h" 43 44 #include "magick/attribute.h" 44 45 #include "magick/blob.h" … … 2586 2587 warning_handler=TIFFSetWarningHandler((TIFFErrorHandler) TIFFWarnings); 2587 2588 endian_type=UndefinedEndian; 2588 option=GetImage Option(image_info,"tiff:endian");2589 option=GetImageArtifact(image,"tiff:endian"); 2589 2590 if (option != (const char *) NULL) 2590 2591 { … … 2868 2869 endian=FILLORDER_MSB2LSB; 2869 2870 } 2870 option=GetImage Property(image,"tiff:fill-order");2871 option=GetImageArtifact(image,"tiff:fill-order"); 2871 2872 if (option != (const char *) NULL) 2872 2873 { … … 2891 2892 extra_samples=1; 2892 2893 sample_info[0]=EXTRASAMPLE_UNASSALPHA; 2893 option=GetImage Property(image,"tiff:alpha");2894 option=GetImageArtifact(image,"tiff:alpha"); 2894 2895 if ((option != (const char *) NULL) && 2895 2896 (LocaleCompare(option,"associated") == 0)) … … 2936 2937 rows_per_strip=(uint32) MagickMax((size_t) TIFFDefaultStripSize(tiff,0), 2937 2938 1); 2938 option=GetImage Option(image_info,"tiff:rows-per-strip");2939 option=GetImageArtifact(image,"tiff:rows-per-strip"); 2939 2940 if (option != (const char *) NULL) 2940 2941 rows_per_strip=(size_t) strtol(option,(char **) NULL,10); … … 3045 3046 break; 3046 3047 } 3047 option=GetImage Option(image_info,"tiff:tile-geometry");3048 option=GetImageArtifact(image,"tiff:rows-per-strip"); 3048 3049 if (option == (const char *) NULL) 3049 3050 (void) TIFFSetField(tiff,TIFFTAG_ROWSPERSTRIP,rows_per_strip);
Note: See TracChangeset
for help on using the changeset viewer.
