• Home
  • Raw
  • Download

Lines Matching refs:tiff

574 static void TIFFGetProfiles(TIFF *tiff,Image *image,MagickBooleanType ping,  in TIFFGetProfiles()  argument
587 if ((TIFFGetField(tiff,TIFFTAG_ICCPROFILE,&length,&profile) == 1) && in TIFFGetProfiles()
592 if ((TIFFGetField(tiff,TIFFTAG_PHOTOSHOP,&length,&profile) == 1) && in TIFFGetProfiles()
597 if ((TIFFGetField(tiff,TIFFTAG_RICHTIFFIPTC,&length,&profile) == 1) && in TIFFGetProfiles()
600 if (TIFFIsByteSwapped(tiff) != 0) in TIFFGetProfiles()
606 if ((TIFFGetField(tiff,TIFFTAG_XMLPACKET,&length,&profile) == 1) && in TIFFGetProfiles()
610 if ((TIFFGetField(tiff,34118,&length,&profile) == 1) && in TIFFGetProfiles()
615 if ((TIFFGetField(tiff,37724,&length,&profile) == 1) && in TIFFGetProfiles()
620 static void TIFFGetProperties(TIFF *tiff,Image *image,ExceptionInfo *exception) in TIFFGetProperties() argument
635 if (TIFFGetField(tiff,TIFFTAG_ARTIST,&text) == 1) in TIFFGetProperties()
637 if (TIFFGetField(tiff,TIFFTAG_COPYRIGHT,&text) == 1) in TIFFGetProperties()
639 if (TIFFGetField(tiff,TIFFTAG_DATETIME,&text) == 1) in TIFFGetProperties()
641 if (TIFFGetField(tiff,TIFFTAG_DOCUMENTNAME,&text) == 1) in TIFFGetProperties()
643 if (TIFFGetField(tiff,TIFFTAG_HOSTCOMPUTER,&text) == 1) in TIFFGetProperties()
645 if (TIFFGetField(tiff,TIFFTAG_IMAGEDESCRIPTION,&text) == 1) in TIFFGetProperties()
647 if (TIFFGetField(tiff,TIFFTAG_MAKE,&text) == 1) in TIFFGetProperties()
649 if (TIFFGetField(tiff,TIFFTAG_MODEL,&text) == 1) in TIFFGetProperties()
651 if (TIFFGetField(tiff,TIFFTAG_OPIIMAGEID,&count,&text) == 1) in TIFFGetProperties()
658 if (TIFFGetField(tiff,TIFFTAG_PAGENAME,&text) == 1) in TIFFGetProperties()
660 if (TIFFGetField(tiff,TIFFTAG_SOFTWARE,&text) == 1) in TIFFGetProperties()
662 if (TIFFGetField(tiff,33423,&count,&text) == 1) in TIFFGetProperties()
669 if (TIFFGetField(tiff,36867,&count,&text) == 1) in TIFFGetProperties()
676 if (TIFFGetField(tiff,TIFFTAG_SUBFILETYPE,&type) == 1) in TIFFGetProperties()
698 if (TIFFGetField(tiff,37706,&length,&tietz) == 1) in TIFFGetProperties()
705 static void TIFFGetEXIFProperties(TIFF *tiff,Image *image, in TIFFGetEXIFProperties() argument
732 if (TIFFGetField(tiff,TIFFTAG_EXIFIFD,&offset) != 1) in TIFFGetEXIFProperties()
734 directory=TIFFCurrentDirectory(tiff); in TIFFGetEXIFProperties()
735 if (TIFFReadEXIFDirectory(tiff,offset) != 1) in TIFFGetEXIFProperties()
737 TIFFSetDirectory(tiff,directory); in TIFFGetEXIFProperties()
752 if ((TIFFGetField(tiff,exif_info[i].tag,&ascii,&sans,&sans) == 1) && in TIFFGetEXIFProperties()
765 if (TIFFGetField(tiff,exif_info[i].tag,&shorty,&sans,&sans) == 1) in TIFFGetEXIFProperties()
779 tiff_status=TIFFGetField(tiff,exif_info[i].tag,&shorty_num,&shorty, in TIFFGetEXIFProperties()
793 if (TIFFGetField(tiff,exif_info[i].tag,&longy,&sans,&sans) == 1) in TIFFGetEXIFProperties()
804 if (TIFFGetField(tiff,exif_info[i].tag,&long8y,&sans,&sans) == 1) in TIFFGetEXIFProperties()
818 if (TIFFGetField(tiff,exif_info[i].tag,&floaty,&sans,&sans) == 1) in TIFFGetEXIFProperties()
829 if (TIFFGetField(tiff,exif_info[i].tag,&doubley,&sans,&sans) == 1) in TIFFGetEXIFProperties()
839 TIFFSetDirectory(tiff,directory); in TIFFGetEXIFProperties()
841 (void) tiff; in TIFFGetEXIFProperties()
866 static int32 TIFFReadPixels(TIFF *tiff,size_t bits_per_sample, in TIFFReadPixels() argument
873 status=TIFFReadScanline(tiff,scanline,(uint32) row,sample); in TIFFReadPixels()
919 static TIFFMethodType GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric, in GetJPEGMethod() argument
952 if (!TIFFGetField(tiff,TIFFTAG_STRIPOFFSETS,&value)) in GetJPEGMethod()
1112 *tiff; in ReadTIFFImage() local
1160 tiff=TIFFClientOpen(image->filename,"rb",(thandle_t) image,TIFFReadBlob, in ReadTIFFImage()
1163 if (tiff == (TIFF *) NULL) in ReadTIFFImage()
1175 if (image_info->scene < (size_t) TIFFNumberOfDirectories(tiff)) in ReadTIFFImage()
1179 status=TIFFReadDirectory(tiff) != 0 ? MagickTrue : MagickFalse; in ReadTIFFImage()
1182 TIFFClose(tiff); in ReadTIFFImage()
1189 TIFFClose(tiff); in ReadTIFFImage()
1201 TIFFPrintDirectory(tiff,stdout,MagickFalse); in ReadTIFFImage()
1203 if ((TIFFGetField(tiff,TIFFTAG_IMAGEWIDTH,&width) != 1) || in ReadTIFFImage()
1204 (TIFFGetField(tiff,TIFFTAG_IMAGELENGTH,&height) != 1) || in ReadTIFFImage()
1205 (TIFFGetFieldDefaulted(tiff,TIFFTAG_COMPRESSION,&compress_tag) != 1) || in ReadTIFFImage()
1206 (TIFFGetFieldDefaulted(tiff,TIFFTAG_FILLORDER,&endian) != 1) || in ReadTIFFImage()
1207 (TIFFGetFieldDefaulted(tiff,TIFFTAG_PLANARCONFIG,&interlace) != 1) || in ReadTIFFImage()
1208 (TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL,&samples_per_pixel) != 1) || in ReadTIFFImage()
1209 (TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE,&bits_per_sample) != 1) || in ReadTIFFImage()
1210 (TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLEFORMAT,&sample_format) != 1) || in ReadTIFFImage()
1211 (TIFFGetFieldDefaulted(tiff,TIFFTAG_MINSAMPLEVALUE,&min_sample_value) != 1) || in ReadTIFFImage()
1212 (TIFFGetFieldDefaulted(tiff,TIFFTAG_MAXSAMPLEVALUE,&max_sample_value) != 1) || in ReadTIFFImage()
1213 (TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric) != 1)) in ReadTIFFImage()
1215 TIFFClose(tiff); in ReadTIFFImage()
1310 if (TIFFIsBigEndian(tiff) == 0) in ReadTIFFImage()
1328 TIFFGetProfiles(tiff,image,image_info->ping,exception); in ReadTIFFImage()
1329 TIFFGetProperties(tiff,image,exception); in ReadTIFFImage()
1332 TIFFGetEXIFProperties(tiff,image,exception); in ReadTIFFImage()
1333 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL, in ReadTIFFImage()
1335 if ((TIFFGetFieldDefaulted(tiff,TIFFTAG_XRESOLUTION,&x_resolution) == 1) && in ReadTIFFImage()
1336 (TIFFGetFieldDefaulted(tiff,TIFFTAG_YRESOLUTION,&y_resolution) == 1)) in ReadTIFFImage()
1341 if (TIFFGetFieldDefaulted(tiff,TIFFTAG_RESOLUTIONUNIT,&units) == 1) in ReadTIFFImage()
1348 if ((TIFFGetFieldDefaulted(tiff,TIFFTAG_XPOSITION,&x_position) == 1) && in ReadTIFFImage()
1349 (TIFFGetFieldDefaulted(tiff,TIFFTAG_YPOSITION,&y_position) == 1)) in ReadTIFFImage()
1354 if (TIFFGetFieldDefaulted(tiff,TIFFTAG_ORIENTATION,&orientation) == 1) in ReadTIFFImage()
1356 if (TIFFGetField(tiff,TIFFTAG_WHITEPOINT,&chromaticity) == 1) in ReadTIFFImage()
1364 if (TIFFGetField(tiff,TIFFTAG_PRIMARYCHROMATICITIES,&chromaticity) == 1) in ReadTIFFImage()
1380 TIFFClose(tiff); in ReadTIFFImage()
1404 tiff_status=TIFFGetFieldDefaulted(tiff,TIFFTAG_YCBCRSUBSAMPLING, in ReadTIFFImage()
1434 TIFFClose(tiff); in ReadTIFFImage()
1445 TIFFClose(tiff); in ReadTIFFImage()
1465 tiff_status=TIFFGetFieldDefaulted(tiff,TIFFTAG_EXTRASAMPLES,&extra_samples, in ReadTIFFImage()
1500 TIFFClose(tiff); in ReadTIFFImage()
1505 if (TIFFGetFieldDefaulted(tiff,TIFFTAG_PAGENUMBER,&value,&pages) == 1) in ReadTIFFImage()
1523 tiff_status=TIFFGetField(tiff,TIFFTAG_COLORMAP,&red_colormap, in ReadTIFFImage()
1567 if (TIFFGetField(tiff,TIFFTAG_ROWSPERSTRIP,&rows_per_strip) == 1) in ReadTIFFImage()
1594 method=GetJPEGMethod(image,tiff,photometric,bits_per_sample, in ReadTIFFImage()
1598 if (TIFFIsTiled(tiff) != MagickFalse) in ReadTIFFImage()
1636 TIFFClose(tiff); in ReadTIFFImage()
1648 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
1693 TIFFClose(tiff); in ReadTIFFImage()
1705 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
1740 status=TIFFReadPixels(tiff,bits_per_sample,(tsample_t) i,y,(char *) in ReadTIFFImage()
1798 status=TIFFReadPixels(tiff,bits_per_sample,0,y,(char *) pixels); in ReadTIFFImage()
1853 if (TIFFReadRGBAStrip(tiff,(tstrip_t) y,(uint32 *) pixels) == 0) in ReadTIFFImage()
1899 if ((TIFFGetField(tiff,TIFFTAG_TILEWIDTH,&columns) != 1) || in ReadTIFFImage()
1900 (TIFFGetField(tiff,TIFFTAG_TILELENGTH,&rows) != 1)) in ReadTIFFImage()
1902 TIFFClose(tiff); in ReadTIFFImage()
1909 TIFFClose(tiff); in ReadTIFFImage()
1916 TIFFClose(tiff); in ReadTIFFImage()
1945 if (TIFFReadRGBATile(tiff,(uint32) x,(uint32) y,tile_pixels) == 0) in ReadTIFFImage()
2016 TIFFClose(tiff); in ReadTIFFImage()
2023 TIFFClose(tiff); in ReadTIFFImage()
2027 (void) TIFFReadRGBAImage(tiff,(uint32) image->columns,(uint32) in ReadTIFFImage()
2092 status=TIFFReadDirectory(tiff) != 0 ? MagickTrue : MagickFalse; in ReadTIFFImage()
2111 TIFFClose(tiff); in ReadTIFFImage()
2154 static void TIFFIgnoreTags(TIFF *tiff) in TIFFIgnoreTags() argument
2175 if (TIFFGetReadProc(tiff) != TIFFReadBlob) in TIFFIgnoreTags()
2177 image=(Image *)TIFFClientdata(tiff); in TIFFIgnoreTags()
2218 (void) TIFFMergeFieldInfo(tiff,ignore,(uint32) count); in TIFFIgnoreTags()
2222 static void TIFFTagExtender(TIFF *tiff) in TIFFTagExtender() argument
2233 TIFFMergeFieldInfo(tiff,TIFFExtensions,sizeof(TIFFExtensions)/ in TIFFTagExtender()
2236 (*tag_extender)(tiff); in TIFFTagExtender()
2237 TIFFIgnoreTags(tiff); in TIFFTagExtender()
2451 *tiff; in WriteGROUP4Image() local
2511 tiff=TIFFOpen(filename,"rb"); in WriteGROUP4Image()
2512 if (tiff == (TIFF *) NULL) in WriteGROUP4Image()
2524 if (TIFFGetField(tiff,TIFFTAG_STRIPBYTECOUNTS,&byte_count) != 1) in WriteGROUP4Image()
2526 TIFFClose(tiff); in WriteGROUP4Image()
2533 for (i=1; i < (ssize_t) TIFFNumberOfStrips(tiff); i++) in WriteGROUP4Image()
2540 TIFFClose(tiff); in WriteGROUP4Image()
2550 for (i=0; i < (ssize_t) TIFFNumberOfStrips(tiff); i++) in WriteGROUP4Image()
2552 count=(ssize_t) TIFFReadRawStrip(tiff,(uint32) i,buffer,strip_size); in WriteGROUP4Image()
2557 TIFFClose(tiff); in WriteGROUP4Image()
2768 TIFF *tiff,TIFFInfo *tiff_info) in GetTIFFInfo() argument
2790 TIFFDefaultTileSize(tiff,&tile_columns,&tile_rows); in GetTIFFInfo()
2791 (void) TIFFSetField(tiff,TIFFTAG_TILEWIDTH,tile_columns); in GetTIFFInfo()
2792 (void) TIFFSetField(tiff,TIFFTAG_TILELENGTH,tile_rows); in GetTIFFInfo()
2796 tile_rows*TIFFScanlineSize(tiff),sizeof(*tiff_info->scanlines)); in GetTIFFInfo()
2798 tile_rows*TIFFTileSize(tiff),sizeof(*tiff_info->scanlines)); in GetTIFFInfo()
2808 static int32 TIFFWritePixels(TIFF *tiff,TIFFInfo *tiff_info,ssize_t row, in TIFFWritePixels() argument
2831 if (TIFFIsTiled(tiff) == 0) in TIFFWritePixels()
2832 return(TIFFWriteScanline(tiff,tiff_info->scanline,(uint32) row,sample)); in TIFFWritePixels()
2836 i=(ssize_t) (row % tiff_info->tile_geometry.height)*TIFFScanlineSize(tiff); in TIFFWritePixels()
2838 (size_t) TIFFScanlineSize(tiff)); in TIFFWritePixels()
2847 bytes_per_pixel=TIFFTileSize(tiff)/(ssize_t) ( in TIFFWritePixels()
2860 p=tiff_info->scanlines+(j*TIFFScanlineSize(tiff)+(i* in TIFFWritePixels()
2862 q=tiff_info->pixels+(j*TIFFTileRowSize(tiff)+k/8); in TIFFWritePixels()
2866 p=tiff_info->scanlines+(j*TIFFScanlineSize(tiff)+(i* in TIFFWritePixels()
2868 q=tiff_info->pixels+(j*TIFFTileRowSize(tiff)+k*bytes_per_pixel); in TIFFWritePixels()
2873 status=TIFFWriteTile(tiff,tiff_info->pixels,(uint32) (i* in TIFFWritePixels()
2883 static void TIFFSetProfiles(TIFF *tiff,Image *image) in TIFFSetProfiles() argument
2904 (void) TIFFSetField(tiff,TIFFTAG_XMLPACKET,(uint32) GetStringInfoLength( in TIFFSetProfiles()
2909 (void) TIFFSetField(tiff,TIFFTAG_ICCPROFILE,(uint32) GetStringInfoLength( in TIFFSetProfiles()
2924 if (TIFFIsByteSwapped(tiff)) in TIFFSetProfiles()
2927 (void) TIFFSetField(tiff,TIFFTAG_RICHTIFFIPTC,(uint32) in TIFFSetProfiles()
2933 (void) TIFFSetField(tiff,TIFFTAG_PHOTOSHOP,(uint32) in TIFFSetProfiles()
2937 (void) TIFFSetField(tiff,37724,(uint32) GetStringInfoLength(profile), in TIFFSetProfiles()
2940 (void) TIFFSetField(tiff,34118,(uint32) GetStringInfoLength(profile), in TIFFSetProfiles()
2946 static void TIFFSetProperties(TIFF *tiff,const ImageInfo *image_info, in TIFFSetProperties() argument
2954 (void) TIFFSetField(tiff,TIFFTAG_DOCUMENTNAME,value); in TIFFSetProperties()
2957 (void) TIFFSetField(tiff,TIFFTAG_HOSTCOMPUTER,value); in TIFFSetProperties()
2960 (void) TIFFSetField(tiff,TIFFTAG_ARTIST,value); in TIFFSetProperties()
2963 (void) TIFFSetField(tiff,TIFFTAG_DATETIME,value); in TIFFSetProperties()
2966 (void) TIFFSetField(tiff,TIFFTAG_MAKE,value); in TIFFSetProperties()
2969 (void) TIFFSetField(tiff,TIFFTAG_MODEL,value); in TIFFSetProperties()
2972 (void) TIFFSetField(tiff,TIFFTAG_SOFTWARE,value); in TIFFSetProperties()
2975 (void) TIFFSetField(tiff,TIFFTAG_COPYRIGHT,value); in TIFFSetProperties()
2978 (void) TIFFSetField(tiff,33423,value); in TIFFSetProperties()
2981 (void) TIFFSetField(tiff,36867,value); in TIFFSetProperties()
2984 (void) TIFFSetField(tiff,TIFFTAG_PAGENAME,value); in TIFFSetProperties()
2987 (void) TIFFSetField(tiff,TIFFTAG_IMAGEDESCRIPTION,value); in TIFFSetProperties()
2992 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_REDUCEDIMAGE); in TIFFSetProperties()
2995 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_PAGE); in TIFFSetProperties()
2998 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_MASK); in TIFFSetProperties()
3009 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_PAGE); in TIFFSetProperties()
3010 (void) TIFFSetField(tiff,TIFFTAG_PAGENUMBER,page,pages); in TIFFSetProperties()
3014 static void TIFFSetEXIFProperties(TIFF *tiff,Image *image, in TIFFSetEXIFProperties() argument
3031 (void) TIFFSetField(tiff,TIFFTAG_SUBIFD,1,&offset); in TIFFSetEXIFProperties()
3041 (void) TIFFSetField(tiff,exif_info[i].tag,value); in TIFFSetEXIFProperties()
3050 (void) TIFFSetField(tiff,exif_info[i].tag,field); in TIFFSetEXIFProperties()
3059 (void) TIFFSetField(tiff,exif_info[i].tag,field); in TIFFSetEXIFProperties()
3069 (void) TIFFSetField(tiff,exif_info[i].tag,field); in TIFFSetEXIFProperties()
3078 (void) tiff; in TIFFSetEXIFProperties()
3087 #define TIFFDefaultStripSize(tiff,request) (8192UL/TIFFScanlineSize(tiff)) in WriteTIFFImage() argument
3123 *tiff; in WriteTIFFImage() local
3179 tiff=TIFFClientOpen(image->filename,mode,(thandle_t) image,TIFFReadBlob, in WriteTIFFImage()
3182 if (tiff == (TIFF *) NULL) in WriteTIFFImage()
3231 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_REDUCEDIMAGE); in WriteTIFFImage()
3235 (void) TIFFSetField(tiff,TIFFTAG_IMAGELENGTH,(uint32) image->rows); in WriteTIFFImage()
3236 (void) TIFFSetField(tiff,TIFFTAG_IMAGEWIDTH,(uint32) image->columns); in WriteTIFFImage()
3340 (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,4); in WriteTIFFImage()
3341 (void) TIFFSetField(tiff,TIFFTAG_INKSET,INKSET_CMYK); in WriteTIFFImage()
3357 (void) TIFFSetField(tiff,TIFFTAG_YCBCRSUBSAMPLING,1,1); in WriteTIFFImage()
3363 (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,3); in WriteTIFFImage()
3373 (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,1); in WriteTIFFImage()
3387 (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,1); in WriteTIFFImage()
3399 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_FILLORDER,&endian); in WriteTIFFImage()
3421 (void) TIFFSetField(tiff,TIFFTAG_COMPRESSION,compress_tag); in WriteTIFFImage()
3422 (void) TIFFSetField(tiff,TIFFTAG_FILLORDER,endian); in WriteTIFFImage()
3423 (void) TIFFSetField(tiff,TIFFTAG_BITSPERSAMPLE,quantum_info->depth); in WriteTIFFImage()
3445 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_SAMPLESPERPIXEL, in WriteTIFFImage()
3447 (void) TIFFSetField(tiff,TIFFTAG_SAMPLESPERPIXEL,samples_per_pixel+1); in WriteTIFFImage()
3448 (void) TIFFSetField(tiff,TIFFTAG_EXTRASAMPLES,extra_samples, in WriteTIFFImage()
3453 (void) TIFFSetField(tiff,TIFFTAG_PHOTOMETRIC,photometric); in WriteTIFFImage()
3458 (void) TIFFSetField(tiff,TIFFTAG_SAMPLEFORMAT,SAMPLEFORMAT_IEEEFP); in WriteTIFFImage()
3459 (void) TIFFSetField(tiff,TIFFTAG_SMINSAMPLEVALUE,quantum_info->minimum); in WriteTIFFImage()
3460 (void) TIFFSetField(tiff,TIFFTAG_SMAXSAMPLEVALUE,quantum_info->maximum); in WriteTIFFImage()
3465 (void) TIFFSetField(tiff,TIFFTAG_SAMPLEFORMAT,SAMPLEFORMAT_INT); in WriteTIFFImage()
3470 (void) TIFFSetField(tiff,TIFFTAG_SAMPLEFORMAT,SAMPLEFORMAT_UINT); in WriteTIFFImage()
3476 (void) TIFFSetField(tiff,TIFFTAG_ORIENTATION,ORIENTATION_TOPLEFT); in WriteTIFFImage()
3477 (void) TIFFSetField(tiff,TIFFTAG_PLANARCONFIG,PLANARCONFIG_CONTIG); in WriteTIFFImage()
3481 (void) TIFFSetField(tiff,TIFFTAG_PLANARCONFIG,PLANARCONFIG_SEPARATE); in WriteTIFFImage()
3482 rows_per_strip=TIFFDefaultStripSize(tiff,0); in WriteTIFFImage()
3502 (void) TIFFSetField(tiff,TIFFTAG_JPEGQUALITY,image_info->quality); in WriteTIFFImage()
3503 (void) TIFFSetField(tiff,TIFFTAG_JPEGCOLORMODE,JPEGCOLORMODE_RAW); in WriteTIFFImage()
3509 (void) TIFFSetField(tiff,TIFFTAG_JPEGCOLORMODE,JPEGCOLORMODE_RGB); in WriteTIFFImage()
3527 (void) TIFFSetField(tiff,TIFFTAG_YCBCRSUBSAMPLING,(uint16) in WriteTIFFImage()
3531 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE, in WriteTIFFImage()
3534 (void) TIFFSetField(tiff,TIFFTAG_JPEGTABLESMODE,JPEGTABLESMODE_QUANT); in WriteTIFFImage()
3541 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE, in WriteTIFFImage()
3546 (void) TIFFSetField(tiff,TIFFTAG_PREDICTOR,PREDICTOR_HORIZONTAL); in WriteTIFFImage()
3547 (void) TIFFSetField(tiff,TIFFTAG_ZIPQUALITY,(long) ( in WriteTIFFImage()
3558 (void) TIFFSetField(tiff,TIFFTAG_GROUP3OPTIONS,4); in WriteTIFFImage()
3572 (void) TIFFSetField(tiff,TIFFTAG_PREDICTOR,PREDICTOR_HORIZONTAL); in WriteTIFFImage()
3573 (void) TIFFSetField(tiff,TIFFTAG_LZMAPRESET,(long) ( in WriteTIFFImage()
3581 (void) TIFFGetFieldDefaulted(tiff,TIFFTAG_BITSPERSAMPLE, in WriteTIFFImage()
3586 (void) TIFFSetField(tiff,TIFFTAG_PREDICTOR,PREDICTOR_HORIZONTAL); in WriteTIFFImage()
3596 (void) TIFFSetField(tiff,TIFFTAG_ROWSPERSTRIP,rows_per_strip); in WriteTIFFImage()
3610 (void) TIFFSetField(tiff,TIFFTAG_RESOLUTIONUNIT,(uint16) units); in WriteTIFFImage()
3611 (void) TIFFSetField(tiff,TIFFTAG_XRESOLUTION,image->resolution.x); in WriteTIFFImage()
3612 (void) TIFFSetField(tiff,TIFFTAG_YRESOLUTION,image->resolution.y); in WriteTIFFImage()
3621 (void) TIFFSetField(tiff,TIFFTAG_XPOSITION,(float) image->page.x/ in WriteTIFFImage()
3629 (void) TIFFSetField(tiff,TIFFTAG_YPOSITION,(float) image->page.y/ in WriteTIFFImage()
3647 (void) TIFFSetField(tiff,TIFFTAG_PRIMARYCHROMATICITIES,chromaticity); in WriteTIFFImage()
3650 (void) TIFFSetField(tiff,TIFFTAG_WHITEPOINT,chromaticity); in WriteTIFFImage()
3655 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_PAGE); in WriteTIFFImage()
3657 (void) TIFFSetField(tiff,TIFFTAG_PAGENUMBER,(uint16) image->scene, in WriteTIFFImage()
3661 (void) TIFFSetField(tiff,TIFFTAG_ORIENTATION,(uint16) image->orientation); in WriteTIFFImage()
3662 (void) TIFFSetProfiles(tiff,image); in WriteTIFFImage()
3672 (void) TIFFSetField(tiff,TIFFTAG_SUBFILETYPE,FILETYPE_PAGE); in WriteTIFFImage()
3673 (void) TIFFSetField(tiff,TIFFTAG_PAGENUMBER,page,pages); in WriteTIFFImage()
3675 (void) TIFFSetProperties(tiff,image_info,image,exception); in WriteTIFFImage()
3679 (void) TIFFSetEXIFProperties(tiff,image,exception); in WriteTIFFImage()
3683 if (GetTIFFInfo(image_info,tiff,&tiff_info) == MagickFalse) in WriteTIFFImage()
3716 if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) in WriteTIFFImage()
3744 if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) in WriteTIFFImage()
3763 if (TIFFWritePixels(tiff,&tiff_info,y,1,image) == -1) in WriteTIFFImage()
3782 if (TIFFWritePixels(tiff,&tiff_info,y,2,image) == -1) in WriteTIFFImage()
3802 if (TIFFWritePixels(tiff,&tiff_info,y,3,image) == -1) in WriteTIFFImage()
3836 if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) in WriteTIFFImage()
3876 (void) TIFFSetField(tiff,TIFFTAG_COLORMAP,red,green,blue); in WriteTIFFImage()
3907 if (TIFFWritePixels(tiff,&tiff_info,y,0,image) == -1) in WriteTIFFImage()
3927 TIFFPrintDirectory(tiff,stdout,MagickFalse); in WriteTIFFImage()
3928 (void) TIFFWriteDirectory(tiff); in WriteTIFFImage()
3937 TIFFClose(tiff); in WriteTIFFImage()