本文介绍了从Adobe Illustrator文件创建缩略图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何在不使用Illustrator的情况下从Adobe Illustrator文件创建缩略图吗?我有一个基于php / linux的应用程序,我想这样做。

Does anybody know how to create a thumbnail from an Adobe Illustrator file without using Illustrator? I have a php/linux based application and I'd like to do so.

-Dave

推荐答案

默认情况下,Adobe Illustrator将文件保存为PDF兼容。除非文件以奇怪的方式保存,否则您应该能够直接使用ImageMagick生成缩略图。例如:

By default, Adobe Illustrator saves files as PDF compatible. Unless the file was saved in a strange way, you should be able to use ImageMagick directly to generate a thumbnail. For example:

convert file.ai -thumbnail 250x250 -unsharp 0x.5  thumbnail.png

注意:如果文件有多个画板(将其解释为PDF格式的页面),则会生成多个文件,或者,如果保存为GIF,则为动画GIF。

Note: If the file has multiple artboards (which are interpreted as pages as a PDF), it will generate multiple files or, if saved as a GIF, an animated GIF.

这篇关于从Adobe Illustrator文件创建缩略图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 18:31