EmbedICCProfile
Embed ICC Profile to JPEG image.
Install / Use
/learn @liuziangexit/EmbedICCProfileREADME
EmbedICCProfile
此程序可以向 JPEG 图像中嵌入 ICC 色彩配置文件。<br><br> 此程序已在:<br> x86 / Windows 10 / MSVC 15<br> x86 / macOS 10.13 / clang-902<br> ARM / Raspbian GUN-Linux 8 / g++-4.9.2<br> 成功通过编译并正常工作。
<h2>什么是 ICC 色彩配置文件</h2> <p> ICC 色彩配置文件为应用程序提供参考,指示图像色彩的正确显示方式。<br> <img src="/web/without-icc.JPG"><img src="/web/with-icc.JPG"><br> 上面是两张由 iPhone 7 拍摄的同一张照片的局部对比图,第一张图片没有嵌入 ICC 配置文件,而第二张图片使用本程序嵌入了正确的配置文件。<br><br> 由于 iPhone 7 拍摄的照片使用 Display P3 色域存储,所以当这张图片出现在其他 sRGB 设备上时,如果没有正确的色彩配置文件的指示,应用程序将无法显示准确的色彩。 </p> <h2>安装</h2> <p>git clone https://github.com/liuziangexit/EmbedICCProfile
cd EmbedICCProfile/src
cmake CMakeLists.txt
make
make install
</p>
<h2>使用</h2>
<p>
EmbedICCProfile xxx.jpg xxx.icc
如: EmbedICCProfile 1.jpg "Display P3.icc"<br><br> 您可能需要键入文件的绝对路径,此外,当文件名包含空格时,您应该使用英文引号将其括起。<br> 运行后,会将指定的 ICC 配置文件(参数2)嵌入到指定的 JPG 文件(参数1)。
</p> <h2>代码库文件夹说明</h2> <p> example 中存放了一张使用 iPhone 7 拍摄的 Display P3 色域的照片,但是并未内嵌 ICC 色彩配置文件。您可以使用本程序向其中嵌入 Display P3 配置文件,并对比嵌入前和嵌入后的不同。<br><br> icc-profile 中存放了许多常用色彩文件,包括 Display P3 和 sRGB 等。<br><br> src 文件夹中包含了此程序的所有源代码。 </p>Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
