Lines Matching refs:read_info
318 *read_info; in PingImages() local
345 read_info=CloneImageInfo(image_info); in PingImages()
347 (void) SetImageInfo(read_info,0,sans); in PingImages()
349 if (read_info->number_scenes == 0) in PingImages()
351 read_info=DestroyImageInfo(read_info); in PingImages()
354 (void) CopyMagickString(ping_filename,read_info->filename, in PingImages()
357 extent=(ssize_t) (read_info->scene+read_info->number_scenes); in PingImages()
358 for (scene=(ssize_t) read_info->scene; scene < (ssize_t) extent; scene++) in PingImages()
361 (int) scene,read_info->filename,exception); in PingImages()
362 image=PingImage(read_info,exception); in PingImages()
367 read_info=DestroyImageInfo(read_info); in PingImages()
446 *read_info; in ReadImage() local
464 read_info=CloneImageInfo(image_info); in ReadImage()
465 (void) CopyMagickString(magick_filename,read_info->filename,MagickPathExtent); in ReadImage()
466 (void) SetImageInfo(read_info,0,exception); in ReadImage()
467 (void) CopyMagickString(filename,read_info->filename,MagickPathExtent); in ReadImage()
468 (void) CopyMagickString(magick,read_info->magick,MagickPathExtent); in ReadImage()
473 magick_info=GetMagickInfo(read_info->magick,sans_exception); in ReadImage()
478 read_info->endian=UndefinedEndian; in ReadImage()
487 read_info->endian=(*(char *) &lsb_first) == 1 ? LSBEndian : in ReadImage()
494 image=AcquireImage(read_info,exception); in ReadImage()
495 (void) CopyMagickString(image->filename,read_info->filename, in ReadImage()
500 read_info=DestroyImageInfo(read_info); in ReadImage()
509 *read_info->filename='\0'; in ReadImage()
510 status=ImageToFile(image,read_info->filename,exception); in ReadImage()
514 read_info=DestroyImageInfo(read_info); in ReadImage()
518 read_info->temporary=MagickTrue; in ReadImage()
527 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage()
530 (void) SetImageInfo(read_info,0,exception); in ReadImage()
531 (void) CopyMagickString(read_info->filename,filename, in ReadImage()
533 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage()
544 status=IsCoderAuthorized(read_info->magick,ReadPolicyRights,exception); in ReadImage()
547 image=decoder(read_info,exception); in ReadImage()
553 delegate_info=GetDelegateInfo(read_info->magick,(char *) NULL,exception); in ReadImage()
558 read_info->magick); in ReadImage()
559 if (read_info->temporary != MagickFalse) in ReadImage()
560 (void) RelinquishUniqueFileResource(read_info->filename); in ReadImage()
561 read_info=DestroyImageInfo(read_info); in ReadImage()
567 image=AcquireImage(read_info,exception); in ReadImage()
570 read_info=DestroyImageInfo(read_info); in ReadImage()
573 (void) CopyMagickString(image->filename,read_info->filename, in ReadImage()
575 *read_info->filename='\0'; in ReadImage()
578 status=InvokeDelegate(read_info,image,read_info->magick,(char *) NULL, in ReadImage()
583 read_info->temporary=MagickTrue; in ReadImage()
585 (void) SetImageInfo(read_info,0,exception); in ReadImage()
586 magick_info=GetMagickInfo(read_info->magick,exception); in ReadImage()
590 if (IsPathAccessible(read_info->filename) != MagickFalse) in ReadImage()
593 read_info->magick); in ReadImage()
596 read_info->filename); in ReadImage()
597 read_info=DestroyImageInfo(read_info); in ReadImage()
605 status=IsCoderAuthorized(read_info->magick,ReadPolicyRights,exception); in ReadImage()
608 image=(decoder)(read_info,exception); in ReadImage()
612 if (read_info->temporary != MagickFalse) in ReadImage()
614 (void) RelinquishUniqueFileResource(read_info->filename); in ReadImage()
615 read_info->temporary=MagickFalse; in ReadImage()
621 read_info=DestroyImageInfo(read_info); in ReadImage()
629 (void) RelinquishUniqueFileResource(read_info->filename); in ReadImage()
630 if ((IsSceneGeometry(read_info->scenes,MagickFalse) != MagickFalse) && in ReadImage()
636 clones=CloneImages(image,read_info->scenes,exception); in ReadImage()
720 option=GetImageOption(read_info,"caption"); in ReadImage()
723 property=InterpretImageProperties(read_info,next,option,exception); in ReadImage()
727 option=GetImageOption(read_info,"comment"); in ReadImage()
730 property=InterpretImageProperties(read_info,next,option,exception); in ReadImage()
734 option=GetImageOption(read_info,"label"); in ReadImage()
737 property=InterpretImageProperties(read_info,next,option,exception); in ReadImage()
743 if ((read_info->extract != (char *) NULL) && in ReadImage()
744 (read_info->stream == (StreamHandler) NULL)) in ReadImage()
750 flags=ParseAbsoluteGeometry(read_info->extract,&geometry); in ReadImage()
769 flags=ParseRegionGeometry(next,read_info->extract,&geometry, in ReadImage()
818 if (read_info->verbose != MagickFalse) in ReadImage()
822 read_info=DestroyImageInfo(read_info); in ReadImage()
864 *read_info; in ReadImages() local
875 read_info=CloneImageInfo(image_info); in ReadImages()
876 *read_info->magick='\0'; in ReadImages()
877 (void) SetImageOption(read_info,"filename",filename); in ReadImages()
878 (void) CopyMagickString(read_info->filename,filename,MagickPathExtent); in ReadImages()
879 (void) InterpretImageFilename(read_info,(Image *) NULL,filename, in ReadImages()
880 (int) read_info->scene,read_filename,exception); in ReadImages()
881 if (LocaleCompare(read_filename,read_info->filename) != 0) in ReadImages()
894 (void) SetImageInfo(read_info,0,sans); in ReadImages()
896 if (read_info->number_scenes != 0) in ReadImages()
898 (void) CopyMagickString(read_filename,read_info->filename, in ReadImages()
901 extent=(ssize_t) (read_info->scene+read_info->number_scenes); in ReadImages()
902 scene=(ssize_t) read_info->scene; in ReadImages()
906 read_filename,(int) scene,read_info->filename,exception); in ReadImages()
907 image=ReadImage(read_info,exception); in ReadImages()
912 read_info=DestroyImageInfo(read_info); in ReadImages()
916 (void) CopyMagickString(read_info->filename,filename,MagickPathExtent); in ReadImages()
917 image=ReadImage(read_info,exception); in ReadImages()
918 read_info=DestroyImageInfo(read_info); in ReadImages()
959 *read_info; in ReadInlineImage() local
985 read_info=CloneImageInfo(image_info); in ReadInlineImage()
986 (void) SetImageInfoProgressMonitor(read_info,(MagickProgressMonitor) NULL, in ReadInlineImage()
988 *read_info->filename='\0'; in ReadInlineImage()
989 *read_info->magick='\0'; in ReadInlineImage()
990 image=BlobToImage(read_info,blob,length,exception); in ReadInlineImage()
992 read_info=DestroyImageInfo(read_info); in ReadInlineImage()