在Linux上将JPEG颜色空间(Adobe RGB转换为sRGB) [英] Converting JPEG colorspace (Adobe RGB to sRGB) on Linux

查看:155
本文介绍了在Linux上将JPEG颜色空间(Adobe RGB转换为sRGB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从大型照片生成缩略图和中等大小的图像。这些较小的照片可以在在线图库中显示。许多摄影师使用 Adob​​e RGB 提交JPEG图像。我被问到缩略图和中等大小的图像是否可以使用 sRGB 作为显示的图像 在某些浏览器中持平。

I am generating thumbnails and medium sized images from large photos. These smaller photos are for display in an online gallery. Many of the photographers are submitting JPEG images using Adobe RGB. I have been asked if the thumbnail and medium size images can use sRGB as the images as is appear "flat" in some browsers.

我目前正在使用ImageMagick创建较小的版本。它有一个 -colorspace 选项,但这似乎没有做我想要的。

I'm currently using ImageMagick to create the smaller versions. It has a -colorspace option, but that doesn't seem to do what I want.

有没有其他方式这样做?另外,你觉得这值得吗?

Is there any other way to do this? Also, do you think this is worthwhile?

推荐答案

你可以使用ImageMagic -profile 选项:

You can use the ImageMagic -profile option:

convert image.jpg -profile sRGB.icc rgb_image.jpg

详情请见此处:
http://www.imagemagick.org/Usage/formats/#color_profile

这篇关于在Linux上将JPEG颜色空间(Adobe RGB转换为sRGB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆