Jump to content
You must now use your email address to sign in [click for more info] ×

Info Panel - Sampler size and Color space


Recommended Posts

I have some questions about the color samplers in the Info Panel of Affinity Photo. I use CMYK samplers a lot when doing critical color work, especially on skin tones. 

1. What size is the sampler? (1 pixel, 3x3, 5x5, etc?) I am assuming it is a single pixel sample, but I am not sure. A single pixel can be misleading, so I'd like to use a larger average sample size.

2. Can you change the sample size? If so, how? Will the Info panel sample size be same as what you select using the EyeDropper Tool if you select something other than "point sample"? In other words, if I select a 5x5 sample size with the Eyedropper Tool, with the sampler in the Info panel also be a 5x5 average sample?

3. When selecting various color modes for the samplers (i.e., RGB, LAB, CMYK, HSV), what color space is used to report that data. For example, if I am working on an sRGB document, but wish to set a sampler to CMYK, which CMYK profile is used to report the numbers. A conversion is required from one color space to another to report accurate numbers. Does AP use the default color spaces and rendering intents to do this conversion, or is it some sort of generic table?

Thanks.

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Hi @Ldina

19 hours ago, Ldina said:

What size is the sampler? ... I am assuming it is a single pixel sample, but I am not sure.

Your right its a 1x1 sample.

19 hours ago, Ldina said:

A single pixel can be misleading

Precisely.

19 hours ago, Ldina said:

...so I'd like to use a larger average sample size.

I use a workaround for this.
I have a macro that averages every pixel by a 3x3 or 5x5. So if you use the info panel on one of these layers you are not sampling 1x1 but 3x3 or 5x5.
These layers are obviously a little blurry, so after making your adjustments, delete these layers.
You can download the macro at the end.
I use A.Photo v1 so i dont know if this macro works on v2. Fingers crossed.

19 hours ago, Ldina said:

Can you change the sample size?

A few months ago i have made a request, but you know how these things work. Lots of work, different priorities... etc.

Sample 3x3 - 5x5.afmacros

Link to comment
Share on other sites

From what I can tell from testing, the Info panel sampler size is always 1x1 px & there is no way to change that -- it does not use the sample size set for the Color Picker Tool.

I do not know what color space is used for samples.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Psenda, thanks for the links. Unfortunately, the Affinity Help menus are pretty basic, lack examples and details, and don't shed any light on this issue. The Help menus could be much better if they were expanded to anticipate user needs more completely.

Lisbon, thank you for your feedback and the Macro. The Macro does work in Affinity Photo v2.0.3. I tried it out and it is very helpful. Thank you very much. I appreciate it. A point sample is sometimes useful, but most of the time, it is simply misleading since it isolates a single pixel. The 3x3 and 5x5 averages are much more helpful for most of what I do. Serif needs to provide options for different average sample sizes right in the Info Panel. It would also be helpful to specify what profiles are being used for the numbers being displayed. 

R C-R, I did some dried testing and have concluded that the numbers reported in the info Panel are based on the current document profile, and whatever other profiles are specified in the default Color Settings for other color spaces. So, if I am working on an sRGB document and selected a CMYK Sampler in the Info Panel, the CMYK numbers will be converted from sRGB to the CMYK profile I have set as my default CMYK in Preferences. In my case, the conversion from sRGB to CMYK will use Coated GRACol 2006 (ISO 12647-2:2004), Relative Colorimetric and Black Point Compensation, since those are my defaults CMYK.

Those converted numbers come closest to the displayed CMYK numbers. I tried a bunch of different CMYK profiles to see which came closest. However, if I use the Mac Colorsync Utility to convert from sRGB to the above CMYK profile, the CMYK numbers differ somewhat from what is displayed in the Info Panel. Perhaps that is because Colorsync uses the Apple default color engine and Affinity Photo is using the Serif color engine. Still, the default profile I selected in Preferences is definitely the closest. 

Thank you all for the helpful responses. 

 

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

1 hour ago, R C-R said:

I do not know what color space is used for samples.

Screenshot_2022-12-24-20-00-29.png.8db768522306dd6540a35661b9301730.png

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

@Pšenda, as I understand it, color space (what in Affinity is referred to as Color Format) like sRGB or web coated & color model like CMYK or RGB are not the same thing, & the former is what the OP is asking about.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

1 hour ago, R C-R said:

as I understand it, color space (what in Affinity is referred to as Color Format) like sRGB or web coated & color model like CMYK or RGB are not the same thing, & the former is what the OP is asking about.

R C-R...Exactly right. I'm talking about the specific color profiles used for converting color numbers so they look the same visually, insofar as possible. Color gamuts vary and often overlap, so some colors that work in one color space will be impossible to reproduce in another (i.e., some colors will be out of gamut). RGB, HSL. CMYK and other color models require the numbers AND a profile to interpret them. RGB or CMYK numbers without a profile are meaningless. LAB is unique in that it is device independent and is a model of human perception, a sort of universal interpreter. There are many different RGB color spaces (profiles, such as sRGB, Adobe RGB. ROMM RGB) and there are many different CMYK color spaces or profiles (FOGRA, US Web Coated SWOP, Euroscale, etc). If you convert from sRGB to CMYK, for example, the final CMYK numbers will be very different depending on which profile and rendering intent you use. 

RGB -> CMYK is a change of color mode. Adobe RGB -> sRGB is a conversion to a new profile within in the same color mode (both are RGB color spaces. sRGB -> US Web Coated SWOP is a change of color mode and color space (or profile).

2017 15" MacBook Pro, 16 MB RAM, Ventura v13.6.6, Affinity Photo/Designer/Publisher v1 & v2, Adobe CS6 Extended, LightRoom v6, Blender, InkScape, Dell 30" Monitor, Canon PRO-100 Printer, i1 Spectrophotometer, i1Publish

Link to comment
Share on other sites

3 hours ago, Ldina said:

R C-R, I did some dried testing and have concluded that the numbers reported in the info Panel are based on the current document profile, and whatever other profiles are specified in the default Color Settings for other color spaces.

You observation sound like as excellent reverse engineering of how Affinity works. 
You can’t expect any more extensive or precise answer before Serif staff return from Xmas Closure.

Using that assumption, it explains how out of gamut colors are treated: exactly the same as if you convert a document to the new color mode and color profile.

3 hours ago, Ldina said:

However, if I use the Mac Colorsync Utility to convert from sRGB to the above CMYK profile, the CMYK numbers differ somewhat from what is displayed in the Info Panel.

This has been reported before, and your comment about different color libraries (I think littleCMS is used by Serif) explain the differences.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.