【问题标题】:ICC profil in PDF using Graphicsmagick使用 Graphicsmagick 的 PDF 中的 ICC 配置文件
【发布时间】:2015-02-07 16:23:21
【问题描述】:

我们使用 Graphicsmagick 将 JPG/PNG 转换为 pdf。

我们需要获取 JPG/PNG 包含的 ICC Profile,因为 PDF 是打印出来的。

我们该怎么做?

感谢您的帮助。

【问题讨论】:

  • 到目前为止你尝试了什么?

标签: imagemagick graphicsmagick


【解决方案1】:

您可以使用 ImageMagick 的 identify 命令查看图像中嵌入了哪些配置文件,如下所示:

identify -format "%[profiles]" image.tif
8bim,icc,xmp

即此图像嵌入了 IPTC、ICC 和 XMP 配置文件。

然后你可以像这样提取它们:

convert image.tif icc:profile.icc        # extract ICC profile

convert image.tif 8bim:profile.8bim      # extract 8bim profile

convert image.tif icm:profile.icm        # extract ICM profile

【讨论】:

    猜你喜欢
    • 2015-10-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-25
    相关资源
    最近更新 更多