【问题标题】:How do I convert EXR to PNG and adjust brightness at the same time如何将 EXR 转换为 PNG 并同时调整亮度
【发布时间】:2017-06-17 10:26:25
【问题描述】:

我能够使用Image conversion from IFF and EXR formats to JPEG format 中概述的技术将我的 EXR 图像转换为 PNG。

convert 0007.exr /tmp/0007.png

不幸的是,PNG 看起来很暗。

我应该在 imagemagick convert 命令行中添加什么来增加亮度?

【问题讨论】:

    标签: imagemagick blender openexr


    【解决方案1】:

    从这里开始:

    你可以试试-auto-gamma:

    convert start.jpg -auto-gamma result.jpg
    

    如果 -auto-gamma overcooks 你喜欢的图像,你可以应用它的百分比。所以,在这里我克隆了原始图像并将自动伽马应用于克隆,但随后只将 80% 混合回原始图像,因为我觉得自动伽马过度了:

    convert start.jpg \( +clone -auto-gamma \) \
       -define compose:args=80 -compose blend -composite result.jpg 
    


    或者,另一种选择,您可以尝试使用您的特定图像并尝试使用-modulate 来表示亮度,其中 100% 表示“什么都不做”,因此超过 100 的数字会增加亮度:

    convert start.jpg -define modulate:colorspace=LCHuv -modulate 160 result.jpg
    

    【讨论】:

    猜你喜欢
    • 2013-08-14
    • 1970-01-01
    • 2014-07-05
    • 1970-01-01
    • 2011-04-03
    • 2021-09-15
    • 2018-10-23
    • 2010-09-06
    • 2013-12-22
    相关资源
    最近更新 更多