Hi,
For some reason, when I try to use the attached EPS file, when I execute the following code:
```
MagickImage image = new MagickImage(@"C:\Issue.eps")
```
I get this error:
> Not a TIFF file, bad magic number 65280 (0xff00). `C:\Issue.eps' @ error/tiff.c/TIFFErrors/552 ---> ImageMagick.MagickCorruptImageWarningException: w3wp.exe: InsufficientImageDataInFile `C:\Issue.eps' @ warning/ept.c/ReadEPTImage/221
NOTE: I tried using the latest Magick.Net dll "7.0.0.0016" with latest Ghost "9.16", but I still get this error. Also, I am able to work with lots of other EPS file but not this particular one.
Any help would be greatly appreciated.
Thank you.
Comments: This can also be a bug in Ghostscript. I am getting the following when I open the file in Ghostscript: ``` GPL Ghostscript 9.15 (2014-09-22) Copyright (C) 2014 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>(C:/Users/Dirk/Downloads/Issue.eps) run Error: /undefined in II* Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --n ostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostr ingval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval -- 1983 1 3 %oparray_pop 1983 1 3 %oparray_pop 1982 1 3 %oparray_pop --nostringval-- 1966 1 3 %oparray_pop 1852 1 3 %o parray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- -- nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1188/1684(ro)(G)-- --dict:1/20(G)-- --dict:96/200(L)-- Current allocation mode is local Last OS error: No such file or directory GS> ```
For some reason, when I try to use the attached EPS file, when I execute the following code:
```
MagickImage image = new MagickImage(@"C:\Issue.eps")
```
I get this error:
> Not a TIFF file, bad magic number 65280 (0xff00). `C:\Issue.eps' @ error/tiff.c/TIFFErrors/552 ---> ImageMagick.MagickCorruptImageWarningException: w3wp.exe: InsufficientImageDataInFile `C:\Issue.eps' @ warning/ept.c/ReadEPTImage/221
NOTE: I tried using the latest Magick.Net dll "7.0.0.0016" with latest Ghost "9.16", but I still get this error. Also, I am able to work with lots of other EPS file but not this particular one.
Any help would be greatly appreciated.
Thank you.
Comments: This can also be a bug in Ghostscript. I am getting the following when I open the file in Ghostscript: ``` GPL Ghostscript 9.15 (2014-09-22) Copyright (C) 2014 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. GS>(C:/Users/Dirk/Downloads/Issue.eps) run Error: /undefined in II* Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- %loop_continue --n ostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostr ingval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval -- 1983 1 3 %oparray_pop 1983 1 3 %oparray_pop 1982 1 3 %oparray_pop --nostringval-- 1966 1 3 %oparray_pop 1852 1 3 %o parray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- -- nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1188/1684(ro)(G)-- --dict:1/20(G)-- --dict:96/200(L)-- Current allocation mode is local Last OS error: No such file or directory GS> ```