Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IMAGING-306: Constants in ColorHsv are not in tune with ColorConversions algorithms #209

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

oskaredv
Copy link

@oskaredv oskaredv commented Mar 9, 2022

We have worked on IMAGING-306 as part of a school assignment

Elsa Benzinger and others added 20 commits March 3, 2022 16:10
feat IMAGING-306, fixed RGBtoHSV and HSVtoRGB to have S and V be 0 to…
feat IMAGING-306-NEWTESTS: New tests for ColorConversions added
Added tests for these color classes, currently they seems to pass within an acceptable margin. The margins are 0.01 and 0.001.
…DIN99

feat IMAGING-306-TESTS-HUNTER-DIN99: Add tests for HunterLab, DINo99 & DINb99
…s well as their outputs are now 0-100 for CMY and CMYK.
…KtoCMYand convertCMYtoCMYK calculations have been simplified with division of K inside of ()
Imaging 306 CMY CMYK, ColorConversion now expects and outputs doubles 0-100 for CMY,CMYK
@garydgregory
Copy link
Member

Hi @oskaredv
Run the build locally before pushing a PR using the default goal: mvn as this PR breaks the build:

Error:  src/main/java/org/apache/commons/imaging/color/ColorConversions.java:[182] (regexp) RegexpSingleline: Line has trailing spaces.
Error:  src/main/java/org/apache/commons/imaging/color/ColorConversions.java:[207] (regexp) RegexpSingleline: Line has trailing spaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants