Bug 340072

Summary: Need an option to input CMYK value as percentages in specific color selector
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: Color SelectorsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla, tysontanx
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: http://i.imgur.com/9vYjjhe.jpg
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raghavendra kamath 2014-10-17 20:35:28 UTC
Current specific color selector has input field from 0-255 for CMYK.
Most of the print design work requires artist to have values such as C=10 M=20 Y=100 K=80 etc.
these values are in percentages.

I request a way to input the values in percentages, as now we have manually calculate the values for accurate colors in CMYK which is time consuming.

thank you

Reproducible: Always




I have linked a screen shot for your  reference
Comment 1 Halla Rempt 2016-01-24 16:07:01 UTC
This is problematic, actually... We really need to figure out how this fits with the way lcms2 works.

WISHGROUP: Stretchgoal
Comment 2 Tyson Tan 2017-12-15 07:27:39 UTC
Me too went into this problem today. I have a book about traditional Chinese color, it's so _traditional_ that it only supplies CYMK values without RGB. And yes it's in percentage (I never used CMYK so I learned that fact today myself). I have to use an online CMYK to RGB converter before I can use the colors in Krita. 

An small inconvenience that rarely matter, I suppose. It would be nice if we could just auto convert the input value internally from 0-100% to 0-255 in the Specific Color Selector.
Comment 3 Halla Rempt 2017-12-29 11:51:15 UTC
Git commit f05a29add48d8a051ecff84c55ea6a6813381ace by Boudewijn Rempt.
Committed on 29/12/2017 at 11:49.
Pushed by rempt into branch 'master'.

Make it possible to enter color values as percentage
Differential revision: https://phabricator.kde.org/D9528

Patch by Dmitry Yurshevich, thanks!

M  +104  -12   libs/ui/widgets/kis_color_input.cpp
M  +14   -4    libs/ui/widgets/kis_color_input.h
M  +21   -1    plugins/dockers/specificcolorselector/kis_specific_color_selector_widget.cc
M  +2    -0    plugins/dockers/specificcolorselector/kis_specific_color_selector_widget.h

https://commits.kde.org/krita/f05a29add48d8a051ecff84c55ea6a6813381ace
Comment 4 Halla Rempt 2017-12-29 11:51:42 UTC
Git commit 14c298120cb39ff346218c31c2a1296860bf1c7d by Boudewijn Rempt.
Committed on 29/12/2017 at 11:51.
Pushed by rempt into branch 'krita/3.3'.

Make it possible to enter color values as percentage
Differential revision: https://phabricator.kde.org/D9528

Patch by Dmitry Yurshevich, thanks!

M  +104  -12   libs/ui/widgets/kis_color_input.cpp
M  +14   -4    libs/ui/widgets/kis_color_input.h
M  +21   -1    plugins/dockers/specificcolorselector/kis_specific_color_selector_widget.cc
M  +2    -0    plugins/dockers/specificcolorselector/kis_specific_color_selector_widget.h

https://commits.kde.org/krita/14c298120cb39ff346218c31c2a1296860bf1c7d
Comment 5 Tyson Tan 2017-12-29 12:01:08 UTC
Thank you Boud!

By the way Will this work for all color models? 

There is a funny story here: I have yet another traditional color research book that was "so serious" about their research they got their color values NOT FROM A COLORIMETER/SPECTROMETER but FROM A DIGITAL CAMERA's JPGs and PICKED UP THE VALUES IN PHOTOSHOP), while using CIE L*a*b only in their book...it happened right after I read that CMYK only one and I was speechless. I guess they felt really professional about all that. XD
Comment 6 Halla Rempt 2017-12-29 12:04:44 UTC
Except for the floating point colorspaces, yes, I think.
Comment 7 Raghavendra kamath 2017-12-29 18:05:15 UTC
Thank you boud for this. i can say this is a new year gift for me :)