使用imagemagick将pdf文件的所有颜色转换为蓝色

acm*_*123 4 pdf imagemagick

如何使用 imagemagick 将所有颜色转换为蓝色?或任何其他简单快捷的解决方案?

我的黑色墨水用完了,想将灰度的 pdf 转换为仅蓝色,然后打印。我的打印机选项有限。

Mar*_*ell 5

不确定你的意思/期望,但试试这个:

convert input.pdf  +level-colors blue, blueResult.pdf
Run Code Online (Sandbox Code Playgroud)

它应该将所有黑色阴影转换为它们等效的蓝色阴影。所以,如果你从这个开始:

在此处输入图片说明

你会得到这个结果:

在此处输入图片说明

如果您的原始文档是彩色的,您可能需要先去饱和度:

convert input.pdf -modulate 100,0 +level-colors blue, blueResult.pdf
Run Code Online (Sandbox Code Playgroud)