Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 PHP中创建TIFF文件?
我想创建一个 TIFF 文件并传真它。我知道如何传真它,但我不知道如何创建 TIFF 文件。
是的,ImageMagick。不过不要指望尝试使用 PHP 扩展,您将对命令发出 shell 命令convert。
convert
它很简单:
system('/path/to/imagemagick/convert orginal_image.jpg new_image.tiff');
希望有帮助。
ImageMagick是解决方案。