1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// SPDX-License-Identifier: Apache-2.0 OR MIT
// Copyright (c) 2021-2025, Harbers Bik LLC
use ;
/// Represents the Profile Connection Space (PCS) of an ICC profile.
// The PCS defines the color space used for the profile connection, which is essential for color management.
// The PCS can be XYZ (CIE1931 XYZ), Lab (CIELAB), or Spectral.
/*
impl Platform {
pub fn new(tag: Signature) -> Option<Platform> {
match tag.0 {
0x4150504C => Some(Self::Apple), // 'APPL'
0x4D534654 => Some(Self::Microsoft), // 'MSFT'
0x53474920 => Some(Self::SiliconGraphics), // 'SGI '
0x53554E57 => Some(Self::SunMicrosystems), // 'SUN '
_ => None
}
}
}
impl From<Platform> for Signature {
fn from(platform: Platform) -> Self {
Signature(platform as u32)
}
}
*/