ICC Profile
ICC Profile (International Color Consortium Profile)
An ICC profile is a standardized data file that characterizes a color device (monitor, printer, scanner) or color space. Embedding ICC profiles in images ensures that colors are reproduced accurately across different devices.
ζθ‘ηθ©³η΄°
ICC profiles follow the ICC.1 specification and contain header information, tag tables, and color transformation data. Common embedded profiles are sRGB IEC61966-2.1 for web images and Adobe RGB (1998) for print workflows.
δΎ
```javascript
// Convert RGB to HSL
function rgbToHsl(r, g, b) {
r /= 255; g /= 255; b /= 255;
const max = Math.max(r, g, b), min = Math.min(r, g, b);
const l = (max + min) / 2;
let h = 0, s = 0;
if (max !== min) {
const d = max - min;
s = l > 0.5 ? d/(2-max-min) : d/(max+min);
}
return [h, s, l];
}
```
ι’ι£γγΌγ«
C
Compress Image
R
Resize Image
C
Crop Image
R
Rotate Image
F
Flip Image
C
Convert Image
W
Watermark Image
S
SVG to PNG
I
Image to Base64
R
Round Corners
A
Add Border
I
Image Filters
A
Adjust Image
B
Blur Image
S
Sharpen Image
M
Make Square
G
Grayscale Image
S
Sepia Image
P
Pixelate Image
S
Strip Image Metadata