-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paths in Photoshop EPS files are corrupted on conversion using IM7 #2380
Comments
I seem to need a log in to access your file. |
Sorry about that. They make it very difficult to share. This should work now https://magnitude.box.com/s/9xuzwxcz3e1uwtbniffuxp0pj2eouw1u |
I confirm the problem on IM 6.9.11.25 and 7.0.10.25 Q16 Mac OSX. I do not have an installed version of 6.9.9.40 to test that their was no issue at that time. |
Thanks for the problem report. We can reproduce it and will have a patch to fix it in the GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow. |
There seems to be another variation on this. I have uploaded another set of images (before and after conversion) here: I tested the new build (ImageMagick 7.0.10-27 Q16 x86_64 2020-08-11) on a Linux host with the following steps, verifying the paths using ExifTool: [root@macserver2 200812_path_issue]# magick -version |
https://build.opensuse.org/request/show/825763 by user pgajdos + dimstar_suse - version update to 7.0.10.27 * fix regression when detecting the libz delegate library. * Add animated webp blend method support (reference ImageMagick/ImageMagick#2351). * Add support for OpenRaster (.ora) image format (reference ImageMagick/ImageMagick#2342). * Paths in Photoshop EPS files are no longer corrupted (reference ImageMagick/ImageMagick#2380). - version update to 7.0.10.25 * Remove UseCIEColor setting from PDF code as its use is not recommended. * Update to the latest documentation. * To preserve compression of input image with the tiff encoder use: -define tiff:preserve-compression=true. * Add support for the -white-balance command-line option. * Discover hidden files
2020-08-16 7.0.10-28 <quetzlzacatenango@image...> * Release ImageMagick version 7.0.10-28 GIT revision 17533:41e79fc33:20200816 2020-08-16 7.0.10-28 <quetzlzacatenango@image...> * Distorted clip path after -extent (reference ImageMagick/ImageMagick#2414). * Paths in Photoshop EPS files are corrupted on conversion (reference ImageMagick/ImageMagick#2413). 2020-08-09 7.0.10-27 <quetzlzacatenango@image...> * Release ImageMagick version 7.0.10-27 GIT revision 17525:ae6ace83c:20200809 2020-08-08 7.0.10-27 <quetzlzacatenango@image...> * fix regression when detecting the libz delegate library. 2020-08-08 7.0.10-26 <quetzlzacatenango@image...> * Release ImageMagick version 7.0.10-26 GIT revision 17520:9c2744359:20200808 2020-08-02 7.0.10-26 <quetzlzacatenango@image...> * Add animated webp blend method support (reference ImageMagick/ImageMagick#2351). * Add support for OpenRaster (.ora) image format (reference ImageMagick/ImageMagick#2342). * Paths in Photoshop EPS files are no longer corrupted (reference ImageMagick/ImageMagick#2380). 2020-07-31 7.0.10-25 <quetzlzacatenango@image...> * Release ImageMagick version 7.0.10-25 GIT revision 17497:0e12ff687:20200731 2020-07-25 7.0.10-25 <quetzlzacatenango@image...> * Remove UseCIEColor setting from PDF code as its use is not recommended. * Update to the latest documentation.
Prerequisites
Description
When converting a Photoshop EPS to another format (e.g. TIFF or JPG) any existing paths are corrupted.
This does not happen when comverting from PSD, TIFF etc.
I'm using ImageMagick 7.0.10-7 Q16 x86_64 on a Mac.
(this works fine in IM6, last verified in 6.9.9-40 Q16 x86_64)
After conversion Photoshop will complain about corrupt content in the resulting image, IM itself finds no paths at all and ExifTool reports 'Warning : Bad Photoshop IRB resource "\x00\x00\x00\x00"'.
This works fine in IM6, last verified in 6.9.9-40 Q16 x86_64.
Steps to Reproduce
I have uploaded a test file and result files to https://magnitude.box.com/s/9xuzwxcz3e1uwtbniffuxp0pj2eouw1u
Version: ImageMagick 7.0.10-7 Q16 x86_6:
magick -verbose -density 300 eps_w_paths.eps[0] -depth 8 tiff_no_paths_IM7010_7.tif
results in an image with a corrupt path segment.
Version: ImageMagick 6.9.9-40 Q16 x86_64:
convert -verbose -density 300 eps_w_paths.eps[0] -depth 8 tiff_w_paths_IM699_40.tif
results in an image with the same path segment as the original EPS.
System Configuration
I have done my personal tests on a Mac (10.14.6)
but I have seen the same result on a Linux host
Mac
fredrik-mac:200805_preview_issues figge$ magick -version
Version: ImageMagick 7.0.10-7 Q16 x86_64 2020-04-10 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI
Delegates (built-in): bzlib freetype jng jpeg lcms png raw tiff webp xml zlib
Linux:
[root@macserver2 ~]# magick -version
Version: ImageMagick 7.0.10-25 Q16 x86_64 2020-08-03 https://imagemagick.org
Copyright: © 1999-2020 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP(3.1)
Delegates (built-in): cairo fontconfig freetype jng jp2 jpeg lzma png rsvg tiff x xml zlib
The text was updated successfully, but these errors were encountered: