Reply to topic

Color profile issue

User avatar xrg
Registered Member
Posts
9
Karma
0
OS

Color profile issue

Thu Oct 03, 2013 5:00 pm
If I export from Krita and then upload to a site sometimes the colors are wrong. Running it through GIMP first seems to eliminate the problem. It asks if I want to convert to "sRGB built-in;" Clicking yes, saving, and uploading seems to result in the correct colors.

Anyway, what I'm after is just being able to export from Krita and keeping colors intact. I'm not sure if it's a bug or I'm not setting something correctly. Here is an example of what I mean. It's probably easiest to tell comparing the orange.

Straight out of Krita (wrong color):
Image

After running through GIMP (correct color):
Image


User avatar JoseConseco
Registered Member
Posts
111
Karma
0

Re: Color profile issue

Fri Oct 04, 2013 7:37 pm
Those images seems too look the same too me. I found that jpeg that are generated in Krita sometimes wont upload to sited eg. deviantart. So today I usually use png's... If you open jpeg in gimp and then save again you will loose some image quality and I would not recomed doing this.
TheraHedwig
Registered Member
Posts
95
Karma
0
OS

Re: Color profile issue

Mon Oct 07, 2013 1:48 pm
Ah, I know what might be going on here.

XRG, what browser do you use when viewing the pictures?

To explain:
-Krita uses colour profiles throughout it's workflow. If you have an ICC profile for your screen, Krita will standardly use that. You can configure this in configuration options.
-Gimp doesn't use ICC profiles(yet). It therefore asks you whether you want to convert to sRGB(the fallback profile).
-Modern day internet browsers can use the ICC profile of a picture. Most of them take the ICC profile of a picture and use that to convert it to sRGB. Firefox in particular will take the ICC profile of the picture and convert it to the ICC profile of you screen.
-Finally, just because modern day graphics browsers allow for it, it doesn't mean that image uploading services do. It may even be that an image uploading service strips the ICC profile from the meta-data in the name of 'compression'.

To figure out where the snag is, I would try to draw a picture in Krita with an unusual ICC profile. Then go through the process again, and see where the picture starts to look awkward.
User avatar xrg
Registered Member
Posts
9
Karma
0
OS

Re: Color profile issue

Mon Oct 07, 2013 6:39 pm
Yeah, it appears to be something with Windows 8. They both look the same on Arch Linux. I'll do some testing with various browsers next time I boot into Win8, and see if there are differences there too.


User avatar boudewijn
KDE Developer
Posts
1379
Karma
7
OS

Re: Color profile issue

Tue Oct 08, 2013 8:21 am
Color caliration is getting more and more difficult: did you calibrate your win8 system? Did you check in Krita's settings whether a display profile is set? By default, we use sRGB both for images and for the display profile, but any local calibration can change that.
User avatar xrg
Registered Member
Posts
9
Karma
0
OS

Re: Color profile issue

Tue Oct 08, 2013 7:58 pm
It's set to whatever Windows 8 is out of the box; finding settings is such a chore in that OS. I'll have to investigate and see what all causes it. It doesn't affect me actually painting or anything, but if people are looking at my images, I want to make sure they see it as closely as I intended. If it was a minor difference I wouldn't worry, but the orange in the first picture appears almost brown.


User avatar boudewijn
KDE Developer
Posts
1379
Karma
7
OS

Re: Color profile issue

Sat Oct 12, 2013 7:48 am
Can you also share the original .kra files? And maybe a screenshot of the color settings page of the Krita settings dialog.
User avatar xrg
Registered Member
Posts
9
Karma
0
OS

Re: Color profile issue

Sat Oct 12, 2013 11:10 am
KRA is here.

Here is the color difference:
Image
A = Out of Krita and uploaded to a site such as Imgur. (wrong color)
B = Doing a convert in GIMP before uploading. (correct color)

This is the error that pops up whenever I load an image exported from Krita into GIMP. Not sure if it's relevant or not.
Image

Also, just to be clear, I don't fully understand color profiles that well, so it's completely possible this is user error on my behalf.


User avatar boudewijn
KDE Developer
Posts
1379
Karma
7
OS

Re: Color profile issue

Sat Oct 12, 2013 12:07 pm
Hm... If I export that .kra to png or jpg, I don't see the issue. I'm really wondering what's going on here -- the image has an sRGB profile for all layers, which is just fine. And if I load http://i.imgur.com/CNJcCLtl.jpg in Gimp, I don't get an error box either!
Pyteo
Registered Member
Posts
17
Karma
0

Re: Color profile issue

Mon Oct 14, 2013 7:47 pm
xrg wrote:KRA is here.

Here is the color difference:
Image
A = Out of Krita and uploaded to a site such as Imgur. (wrong color)
B = Doing a convert in GIMP before uploading. (correct color)

This is the error that pops up whenever I load an image exported from Krita into GIMP. Not sure if it's relevant or not.
Image

Also, just to be clear, I don't fully understand color profiles that well, so it's completely possible this is user error on my behalf.


I have the exact same problem.
I'm running Krita 2.7 on Ubutu 13.04 - 64 bit.
ghevan
Registered Member
Posts
83
Karma
0
OS

Re: Color profile issue

Wed Oct 16, 2013 12:20 am
@TheraHedwig Explained in detail what happens with your image.

@boudewijn Perhaps you clicked "Don't ask me again"? As im getting the "Convert to sRGB" prompt from Gimp with the image you linked.

The strange behavior is that I get the Gimp prompt showing the color profile name as "(Invalid UTF-8 string)" instead of sRGB Built-in. Perhaps the string is saved in UTF encoding instead of ASCII? But I have no knowledge about PNG property specs.

Checking off "Save sRGB profile" check box in the png settings dialog if you don't want to embed color profile information in the png (sometimes this is preferred).

imagemagick identify shows this as the relevant difference between krita output with sRGB checked and unchecked
Code: Select all
Properties:                                                        Properties:
    author:                                                            author:
    date:create: 2013-10-15T19:01:40-05:00                      |      date:create: 2013-10-15T18:57:35-05:00
    date:modify: 2013-10-15T19:01:40-05:00                      |      date:modify: 2013-10-15T18:57:35-05:00
    png:iCCP: chunk was found                                   |      png:cHRM: chunk was found (see Chromaticity, above)
                                                                >      png:gAMA: gamma=0.45455 (See Gamma, above)
    png:IHDR.bit-depth-orig: 8                                         png:IHDR.bit-depth-orig: 8
    png:IHDR.bit_depth: 8                                              png:IHDR.bit_depth: 8
    png:IHDR.color-type-orig: 6                                        png:IHDR.color-type-orig: 6
    png:IHDR.color_type: 6 (RGBA)                                      png:IHDR.color_type: 6 (RGBA)
    png:IHDR.interlace_method: 0 (Not interlaced)                      png:IHDR.interlace_method: 0 (Not interlaced)
    png:IHDR.width,height: 3298, 4076                                  png:IHDR.width,height: 3298, 4076
    png:pHYs: x_res=11811, y_res=11811, units=1                        png:pHYs: x_res=11811, y_res=11811, units=1
                                                                >      png:sRGB: intent=3 (Absolute Intent)
    png:text: 1 tEXt/zTXt/iTXt chunks were found                       png:text: 1 tEXt/zTXt/iTXt chunks were found
    signature: afc0406a846ffae98725c506df5a295267d451cf26b25f48        signature: afc0406a846ffae98725c506df5a295267d451cf26b25f48
  Profiles:                                                     <
    Profile-icc: 656 bytes                                      <
      Description: sRGB built-in                                <
      Manufacturer: sRGB built-in                               <
      Model: sRGB built-in                                      <
      Copyright: No copyright, use freely                       <
  Artifacts:                                                         Artifacts:
    filename: MaterialStudies_Sheetnormal.png                   |      filename: MaterialStudies_Sheetno2.png
    verbose: true                                                      verbose: true
  Tainted: False                                                     Tainted: False
  Filesize: 9.563MB                                                  Filesize: 9.563MB
  Number pixels: 13.44M                                              Number pixels: 13.44M
  Pixels per second: 18.67MB                                    |    Pixels per second: 17.23MB
  User time: 0.700u                                             |    User time: 0.720u
  Elapsed time: 0:01.720                                        |    Elapsed time: 0:01.780
  Version: ImageMagick 6.8.6-8 2013-08-26 Q16 http://www.imagem      Version: ImageMagick 6.8.6-8 2013-08-26 Q16 http://www.imagem


There doesn't seem to be anything weird. For instance, this image does prompt the gimp, but it shows the name of the profile properly => "Pantalla Apple Studio Display calibrado"
Code: Select all
Properties:
    date:create: 2012-10-23T17:35:40-05:00
    date:modify: 2011-09-23T01:11:55-05:00
    png:cHRM: chunk was found (see Chromaticity, above)
    png:iCCP: chunk was found
    png:IHDR.bit-depth-orig: 8
    png:IHDR.bit_depth: 8
    png:IHDR.color-type-orig: 2
    png:IHDR.color_type: 2 (Truecolor)
    png:IHDR.interlace_method: 0 (Not interlaced)
    png:IHDR.width,height: 320, 251
    png:pHYs: x_res=2835, y_res=2835, units=1
    signature: 9e88250c53fc849350a9b25d4d9deafc6150f10884324dbe8071125ddedc815a
  Profiles:
    Profile-icc: 3116 bytes
      Description: Pantalla Apple Studio Display calibrado
      Manufacturer: Pantalla Apple Studio Display calibrado
      Model: Pantalla Apple Studio Display calibrado
      Copyright: Copyright Apple Inc., 2009


User avatar boudewijn
KDE Developer
Posts
1379
Karma
7
OS

Re: Color profile issue

Wed Oct 16, 2013 12:29 pm
Hm, if I remove the gimp config files, I do get the message. However, I'm not convinced that Krita is saving the jpg wrongly: it's possible, of course, but photoshop cs2 doesn't complain and ImageMagick tells me:

Profiles:
Profile-icc: 656 bytes
Description: sRGB built-in
Manufacturer: sRGB built-in
Model: sRGB built-in
Copyright: No copyright, use freely

Which is what I would expect.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Exabot [Bot], garthecho, Google [Bot], koriun, Majestic-12 [Bot], odysseus-art, pedrorodriguez, Steve Guilford, Yahoo [Bot]