sRGB vs RGB: Performance and Integrity

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
hknight
Posts: 32
Joined: 2007-08-02T10:16:15-07:00

sRGB vs RGB: Performance and Integrity

Post by hknight »

What are the advantages and disadvantages of using -colorspace sRGB vs -colorspace RGB?

Will one perform faster than the other? Will images look better with one of the options compared to the other?

I ImageMagick use 6.8.6.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: sRGB vs RGB: Performance and Integrity

Post by snibgo »

Computer software often assumes that images are sRGB, even when they are RGB. sRGB is a common standard, especially for the internet. Images sourced from scanners and cameras are usually sRGB. For me, these are good reasons for ensuring that finished images are sRGB.

Processing might be done in sRGB, RGB or other colorspace.
hknight wrote:Will one perform faster than the other?
Performance of what?
hknight wrote:Will images look better with one of the options compared to the other?
An image should look exactly the same, whatever colorspace it is in, because the display software should convert it if needed. As I say above, some software ignores the actual colorspace and assumes it is sRGB.
snibgo's IM pages: im.snibgo.com
xistsix
Posts: 1
Joined: 2013-10-02T02:39:33-07:00
Authentication code: 6789

Re: sRGB vs RGB: Performance and Integrity

Post by xistsix »

Ken Rockwell explains sRGB vs. Adobe RGB thoroughly, yet simply. http://www.kenrockwell.com/tech/adobe-rgb.htm
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: sRGB vs RGB: Performance and Integrity

Post by fmw42 »

Another issue is that some functions assume that colorspace is linear to work properly or work better with linear colorspace (RGB vs sRGB). One example is with -resize. See http://www.imagemagick.org/Usage/resize/#techniques
Post Reply