svn commit: r502811 - in head/graphics: . bitmap
Yuri Victorovich
yuri at FreeBSD.org
Mon May 27 18:12:27 UTC 2019
Author: yuri
Date: Mon May 27 18:12:25 2019
New Revision: 502811
URL: https://svnweb.freebsd.org/changeset/ports/502811
Log:
New port: graphics/bitmap: Minimalistic library manipulating 24-bit per pixel bitmap images
Added:
head/graphics/bitmap/
head/graphics/bitmap/Makefile (contents, props changed)
head/graphics/bitmap/distinfo (contents, props changed)
head/graphics/bitmap/pkg-descr (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Mon May 27 17:40:27 2019 (r502810)
+++ head/graphics/Makefile Mon May 27 18:12:25 2019 (r502811)
@@ -65,6 +65,7 @@
SUBDIR += barbecue
SUBDIR += barcode
SUBDIR += batik
+ SUBDIR += bitmap
SUBDIR += blender
SUBDIR += blender-doc
SUBDIR += bmeps
Added: head/graphics/bitmap/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/bitmap/Makefile Mon May 27 18:12:25 2019 (r502811)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= bitmap
+DISTVERSION= g20181222
+CATEGORIES= graphics
+PKGNAMESUFFIX= -graphics-library
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= Minimalistic library manipulating 24-bit per pixel bitmap images
+
+LICENSE= MIT
+
+USE_GITHUB= yes
+GH_ACCOUNT= ArashPartow
+GH_TAGNAME= b02297f
+
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= include/bitmap_image.hpp
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/bitmap_image.hpp ${STAGEDIR}${PREFIX}/include
+
+do-test: # tests failure reported to the author: Error - Failed to open 'image.bmp'
+ @cd ${WRKSRC} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bitmap_test && \
+ ./bitmap_test
+
+.include <bsd.port.mk>
Added: head/graphics/bitmap/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/bitmap/distinfo Mon May 27 18:12:25 2019 (r502811)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1558979256
+SHA256 (ArashPartow-bitmap-g20181222-b02297f_GH0.tar.gz) = 9d6dd560d0bd01e78ebd08f7828249b96ad7b43e4a3589b54d62831d97c801f0
+SIZE (ArashPartow-bitmap-g20181222-b02297f_GH0.tar.gz) = 52230
Added: head/graphics/bitmap/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/bitmap/pkg-descr Mon May 27 18:12:25 2019 (r502811)
@@ -0,0 +1,21 @@
+The C++ Bitmap Library consists of simple, robust, optimized and portable
+processing routines for the 24-bit per pixel bitmap image format.
+
+The library has the following capabilities:
+* Read/Write 24-bit Bitmap Images
+* Pixel, row or column level batch editing
+* Colour conversions (RGB,YCbCr) in byte and floating values
+* Highly optimized subsample and upsample (resizing)
+* Various colour maps (1000 levels - autumn, copper, gray, hot, hsv, jet, prism,
+ vga, yarg)
+* Texture generation (checkered pattern, plasma)
+* Graphics drawing interface (line, line-segment, rectangle, triangle, quadix,
+ horizontal and vertical line-segments, ellipse, circle, plot pixel, pen width,
+ pen colour)
+* Cartesian canvas and associated drawing interface
+* PSNR and Image comparisons
+* Simple nearest colour match from set of colours
+* Wavelength to RGB approximations
+* Single header file solution requires no installation or building
+
+WWW: http://www.partow.net/programming/bitmap/index.html
More information about the svn-ports-all
mailing list