We are having an interesting issue with Adobe Illustrator (AI) files. If we attempt to upload a larger dimension AI file (30 inches by 70 inches, for example), it seems to get stuck trying to generate a preview image. Smaller files don't seem to be an issue. We also noticed on the server that it seems to generate large (temp) files as well. This didn't seem to be an issue in the past for us.
Here's a link to the file we've been testing with: https://1drv.ms/u/s!Avsp9SaMaXIJrs418jsPr5dasKXroQ
Version: ImageMagick 7.0.4-6 Q16 x86_64 2017-01-31
Linux
Large Dimension AI files
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Large Dimension AI files
Do you have enough space in your /tmp directory? See your policy.xml file to set your resources to handle the dimensions and file size (disk space and memory) for rasterizing your AI file.
Re: Large Dimension AI files
@fmw42 thanks for the response! We've done more digging, and I should have provided more information. We're running ImageMagick on our digital asset management site (ResourceSpace). We did increase the size of our /tmp directory, since we initially had 8gb allocated for it. We increased it to 50gb. However, we think the problem may be that the last update to ResourceSpace added to the conversion command with -density 300. So, it was trying to create gigantic images.
We're still investigating, but this seems like it may be the reason it is causing issues.
We're still investigating, but this seems like it may be the reason it is causing issues.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Large Dimension AI files
Yes with a large AI file and a density of 300, you will get a huge rasterized image that may exceed your policy.xml limitations on width or height or memory or your /tmp allocation.