| 1393 | | (void) FormatMagickString(image->filename,MaxTextExtent,"%s:%s", |
| 1394 | | image->magick,unique); |
| 1395 | | status=WriteImage(blob_info,image); |
| 1396 | | if (status == MagickFalse) |
| 1397 | | InheritException(exception,&image->exception); |
| 1398 | | else |
| 1399 | | blob=FileToBlob(image->filename,~0UL,length,exception); |
| | 1393 | if (blob_info->file != (FILE *) NULL) |
| | 1394 | { |
| | 1395 | (void) FormatMagickString(image->filename,MaxTextExtent,"%s:%s", |
| | 1396 | image->magick,unique); |
| | 1397 | status=WriteImage(blob_info,image); |
| | 1398 | (void) fclose(blob_info->file); |
| | 1399 | if (status == MagickFalse) |
| | 1400 | InheritException(exception,&image->exception); |
| | 1401 | else |
| | 1402 | blob=FileToBlob(image->filename,~0UL,length,exception); |
| | 1403 | } |
| 1673 | | (void) FormatMagickString(filename,MaxTextExtent,"%s:%s", |
| 1674 | | images->magick,unique); |
| 1675 | | status=WriteImages(blob_info,images,filename,exception); |
| 1676 | | if (status == MagickFalse) |
| 1677 | | InheritException(exception,&images->exception); |
| 1678 | | else |
| 1679 | | blob=FileToBlob(images->filename,~0UL,length,exception); |
| | 1677 | if (blob_info->file != (FILE *) NULL) |
| | 1678 | { |
| | 1679 | (void) FormatMagickString(filename,MaxTextExtent,"%s:%s", |
| | 1680 | images->magick,unique); |
| | 1681 | status=WriteImages(blob_info,images,filename,exception); |
| | 1682 | (void) fclose(blob_info->file); |
| | 1683 | if (status == MagickFalse) |
| | 1684 | InheritException(exception,&images->exception); |
| | 1685 | else |
| | 1686 | blob=FileToBlob(images->filename,~0UL,length,exception); |
| | 1687 | } |