在Imagemagick中模拟Photoshop的饱和度变化

时间:2022-05-04 08:59:00

In Photoshop you can adjust the hue, saturation and lightness of an image with three sliders. ImageMagick you can modulate the brightness, saturation, and hue.

在Photoshop中,您可以使用三个滑块调整图像的色调,饱和度和亮度。 ImageMagick你可以调制亮度,饱和度和色调。

Minimizing the saturation correctly produces a black and white image in both programs.

正确地最小化饱和度会在两个程序中产生黑白图像。

Maxing out the saturation appears close, but ImageMagick appears to soften some of the blown out edges while Photoshop will expose more the the compression artifacts.

最大化饱和度似乎接近,但ImageMagick似乎软化了一些被吹出的边缘,而Photoshop将暴露更多的压缩工件。

How can I accurately reproduce Photoshop's saturation changes from within ImageMagick, or other command line tool.

如何从ImageMagick或其他命令行工具中准确地重现Photoshop的饱和度更改。

1 个解决方案

#1


Could it be that they each use slightly different RGB colour models? From the names of the attributes they use (lightness and brightness), it certainly seems that;

难道他们每个人都使用略有不同的RGB颜色模型吗?从他们使用的属性的名称(亮度和亮度),它似乎肯定;

  • Photoshop = HSL (hue, saturation, luminence)
  • Photoshop = HSL(色调,饱和度,亮度)

  • ImageMagik = HSV (hue, saturation, value)
  • ImageMagik = HSV(色调,饱和度,值)

Check out this Wikiepedia article on HSL and HSV colour spaces.

查看关于HSL和HSV色彩空间的Wikiepedia文章。

#1


Could it be that they each use slightly different RGB colour models? From the names of the attributes they use (lightness and brightness), it certainly seems that;

难道他们每个人都使用略有不同的RGB颜色模型吗?从他们使用的属性的名称(亮度和亮度),它似乎肯定;

  • Photoshop = HSL (hue, saturation, luminence)
  • Photoshop = HSL(色调,饱和度,亮度)

  • ImageMagik = HSV (hue, saturation, value)
  • ImageMagik = HSV(色调,饱和度,值)

Check out this Wikiepedia article on HSL and HSV colour spaces.

查看关于HSL和HSV色彩空间的Wikiepedia文章。