Commit 2a8655f8 authored by yuri's avatar yuri
Browse files

New port: devel/color: C++ header-only library for color conversion and manipulation

parent 44d12c0f
......@@ -369,6 +369,7 @@
SUBDIR += codesearch-py
SUBDIR += codeworker
SUBDIR += collada-dom
SUBDIR += color
SUBDIR += colorgcc
SUBDIR += colormake
SUBDIR += commit-patch
......
# $FreeBSD$
PORTNAME= color
DISTVERSION= g20200911
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= C++ header-only library for color conversion and manipulation
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/license.txt
USE_GITHUB= yes
GH_ACCOUNT= dmilos
GH_TAGNAME= 2016cd4
NO_BUILD= yes
NO_ARCH= yes
do-install:
cd ${WRKSRC}/src && ${COPYTREE_SHARE} color ${STAGEDIR}${PREFIX}/include
.include <bsd.port.mk>
TIMESTAMP = 1610526287
SHA256 (dmilos-color-g20200911-2016cd4_GH0.tar.gz) = 4d3366591b0ba8e53aad8a9689d7b949b397c80b55a697c9a6e079c0abf1af64
SIZE (dmilos-color-g20200911-2016cd4_GH0.tar.gz) = 4836905
Key features:
* No virtual functions
* Minimal memory footprint
* Ability to copy array/vector of colors with memcpy, memmove and initialize
with memset.
* Conversions from/to different models ( and its formats ).
* Headers only
One file to include to start the fun
By using del or rm it is reducible in to only two of them.
* No third parties
* No additional binaries
* Out of the box ready
No need to recompile or start some install process.
* Color models:
* GRAY,
* RGB, CMY, CMYK,
* HSI, HSL, HSV, HWB,
* YIQ, YUV(BT.601, BT.709), YCgCo, YPbPr(BT.601, BT.709, BT.2020),
* XYZ(sRGB, D65, 2deg), LAB( CIE, Hunter), LUV, LMS (von Kries D65,
von Kries E, BFD, MCAT02), xyY, LabCH, LuvCH
WWW: https://github.com/dmilos/color
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment