mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
LibGfx: Move CIELAB to its own file
This commit is contained in:
parent
22202715fc
commit
adec1abf81
4 changed files with 22 additions and 7 deletions
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <AK/Endian.h>
|
||||
#include <LibGfx/CIELAB.h>
|
||||
#include <LibGfx/ICC/BinaryFormat.h>
|
||||
#include <LibGfx/ICC/Profile.h>
|
||||
#include <LibGfx/ICC/Tags.h>
|
||||
|
@ -1470,7 +1471,7 @@ ErrorOr<FloatVector3> Profile::to_pcs(ReadonlyBytes color)
|
|||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
ErrorOr<Profile::CIELAB> Profile::to_lab(ReadonlyBytes color)
|
||||
ErrorOr<CIELAB> Profile::to_lab(ReadonlyBytes color)
|
||||
{
|
||||
auto pcs = TRY(to_pcs(color));
|
||||
if (connection_space() == ColorSpace::PCSLAB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue