Skip to content

Commit

Permalink
Only read the first image with the other delegate.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 5, 2020
1 parent e7a179a commit 91804d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coders/ept.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ static Image *ReadEPTImage(const ImageInfo *image_info,ExceptionInfo *exception)
(void) CloseBlob(image);
image=DestroyImage(image);
read_info=CloneImageInfo(image_info);
read_info->number_scenes=1;
read_info->scene=0;
(void) CopyMagickString(read_info->magick,"EPS",MagickPathExtent);
image=BlobToImage(read_info,postscript_data,ept_info.postscript_length,
exception);
Expand Down

0 comments on commit 91804d3

Please sign in to comment.