Author Topic: sRGB profile for the web?  (Read 6682 times)

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
sRGB profile for the web?
« on: 2010 July 16 07:08:20 »
Hi all,

I am wondering how to convert my images to sRGB format for the web? I am trying the ICCProfileTransformation process, selecting the image as Source Profile and selecting "web safe colors" in Target Profile, but I get this error: "Named color profiles are not supported as output"

Any help would be much appreciated.
Thank you,
E.


Offline jmtanous

  • PixInsight Addict
  • ***
  • Posts: 155
Re: sRGB profile for the web?
« Reply #1 on: 2010 July 16 07:43:16 »
Hi,

Same problem here...

I am running PI on OSX.

Cheers,

Jose

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: sRGB profile for the web?
« Reply #2 on: 2010 July 16 09:14:00 »
I don't have a web profile, I simply use the sRGB profile. To make sure this works I selected an arbitrary different profile in the ICCPT process and dragged the icon onto the target image. The process succeeded. You could try a different profile and see if that works. If it does there might be something wrong with the profile you're trying to use.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #3 on: 2010 July 16 10:16:24 »
The problem is that I don't have an sRGB profile in the ICCtransform process.


Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: sRGB profile for the web?
« Reply #4 on: 2010 July 16 10:20:25 »
In that case it would probably be helpful if you told us what platform you use. What happens when you use a different profile? Are none working or just the web color one?
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #5 on: 2010 July 17 12:59:27 »
I am on OSX and none of them are working.

Is Web safe colors the same as sRGB?


Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: sRGB profile for the web?
« Reply #6 on: 2010 July 17 14:12:04 »
Sorry, I don't know. I do know that sRGB is generally considered a 'lowest common denominator' so it's a safe choice. They may not be exactly identical. Perhaps a google search can tell.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #7 on: 2010 July 18 12:07:02 »
Sorry Sander,
what I meant was: should I have an option in there sayin sRGB? Because I dont have that option listed....

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: sRGB profile for the web?
« Reply #8 on: 2010 July 18 12:52:59 »
Hi Emanuele,

I have no idea. On windows the list is pulled from the operating system. I imagine under OSX it's the same but there's no way for me to be sure.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline twade

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 445
    • http://www.northwest-landscapes.com
Re: sRGB profile for the web?
« Reply #9 on: 2010 July 18 14:00:58 »
To all,

sRGB is the "standard" color space used over the Web.  "Web safe colors" are usually another way of saying/using the sRGB color space.

Wade

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #10 on: 2010 July 18 14:40:45 »
alright, thanks for that twade.

Problem still persists then. Gives me that error.

Offline twade

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 445
    • http://www.northwest-landscapes.com
Re: sRGB profile for the web?
« Reply #11 on: 2010 July 18 16:10:06 »
Emanuele,

What color profile is the image currently using?  Could you provide a list of possible color profiles to choose from in OS X?  For example, what are the names of the profiles populated in the "Convert to the specified profile" drop-down list?  We may have to find a close match.

Wade

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #12 on: 2010 July 19 01:07:39 »
Wade,

Thanks for your help. :)
I have 4 profiles in that section.
3 of them are my monitor calibrated profiles - which I created using the calibrate tool in System Preferences- and the last one is Web Safe Colors.


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: sRGB profile for the web?
« Reply #13 on: 2010 July 19 03:37:07 »
Hi Emanuele,

It's strange that you have no sRGB profile on your Mac. Anyway, the solution is very easy: download it from ICC's website and install it on your machine.

Go to this web page:

http://www.color.org/srgbprofiles.xalter

and scroll down to about one half of the page untill you see the following file name with an "Accept terms of use" to the right:

sRGB_v4_ICC_preference.icc

This is an ICC v4 profile. It should work without problems on your Mac and of course it will work fine with PixInsight. Download the file and move it to your local color profiles folder. This folder is:

Library/ColorSync/Profiles

and is located on your home folder. That is, the complete path to this folder is:

/Users/<your-user-name>/Library/ColorSync/Profiles

where <your-user-name> is your actual user name on your Mac.

From now on PixInsight will recognize this profile and will show it on all color management tools. You can use it to convert your images for web deployment.

However, I personally don't recommend you embed a profile in images that are to be shown on the WWW. Just convert the image with ICCProfileTransformation, but then use AssignICCProfile with the "leave the image untagged" option enabled. From my experience, browsers with color management support (including Firefox) don't render images correctly when they have embedded profiles. So the safest option is to transform the images to sRGB but leave them untagged (no profile embedded). In this way they will be rendered well (so to say...) on all browsers, including those with and without color management capabilities.

Hope this helps. Back to 1.6.1 final polishment...
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Emanuele

  • PixInsight Addict
  • ***
  • Posts: 270
Re: sRGB profile for the web?
« Reply #14 on: 2010 July 19 13:18:15 »
ahhhh! Thank you so much Juan! :)