Changeset 6790


Ignore:
Timestamp:
02/09/12 08:58:31 (16 months ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/branches/ImageMagick-6.7.5/coders/tiff.c

    r6779 r6790  
    4141*/ 
    4242#include "magick/studio.h" 
     43#include "magick/artifact.h" 
    4344#include "magick/attribute.h" 
    4445#include "magick/blob.h" 
     
    25862587  warning_handler=TIFFSetWarningHandler((TIFFErrorHandler) TIFFWarnings); 
    25872588  endian_type=UndefinedEndian; 
    2588   option=GetImageOption(image_info,"tiff:endian"); 
     2589  option=GetImageArtifact(image,"tiff:endian"); 
    25892590  if (option != (const char *) NULL) 
    25902591    { 
     
    28682869         endian=FILLORDER_MSB2LSB; 
    28692870       } 
    2870     option=GetImageProperty(image,"tiff:fill-order"); 
     2871    option=GetImageArtifact(image,"tiff:fill-order"); 
    28712872    if (option != (const char *) NULL) 
    28722873      { 
     
    28912892        extra_samples=1; 
    28922893        sample_info[0]=EXTRASAMPLE_UNASSALPHA; 
    2893         option=GetImageProperty(image,"tiff:alpha"); 
     2894        option=GetImageArtifact(image,"tiff:alpha"); 
    28942895        if ((option != (const char *) NULL) && 
    28952896            (LocaleCompare(option,"associated") == 0)) 
     
    29362937      rows_per_strip=(uint32) MagickMax((size_t) TIFFDefaultStripSize(tiff,0), 
    29372938        1); 
    2938     option=GetImageOption(image_info,"tiff:rows-per-strip"); 
     2939    option=GetImageArtifact(image,"tiff:rows-per-strip"); 
    29392940    if (option != (const char *) NULL) 
    29402941      rows_per_strip=(size_t) strtol(option,(char **) NULL,10); 
     
    30453046        break; 
    30463047    } 
    3047     option=GetImageOption(image_info,"tiff:tile-geometry"); 
     3048    option=GetImageArtifact(image,"tiff:rows-per-strip"); 
    30483049    if (option == (const char *) NULL) 
    30493050      (void) TIFFSetField(tiff,TIFFTAG_ROWSPERSTRIP,rows_per_strip); 
Note: See TracChangeset for help on using the changeset viewer.