Initial import of fbm-1.2

Fuzzy Pixmap Manipulation utilities.

PR:            5774
Submitted by:  Pedro F. Giffuni <giffunip@asme.org>
This commit is contained in:
Steve Price 1998-02-20 02:31:23 +00:00
parent 3a31f70e62
commit c02e6eb999
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9843
6 changed files with 213 additions and 0 deletions

26
graphics/fbm/Makefile Normal file
View file

@ -0,0 +1,26 @@
# New ports collection makefile for: fbm
# Version required: 1.2
# Date created: 21 January 1998
# Whom: giffunip@asme.org
#
# $Id$
#
DISTNAME= fbm-1.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/convert
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.ORG
NO_WRKSUBDIR= yes
INSTALL_TARGET= smaller $(INSTALL)
MANL= clr2gray.l fbcat.l fbclean.l fbedge.l fbext.l fbhalf.l fbhist.l \
fbinfo.l fbm.l fbm2pod.l fbmask.l fbnorm.l fbps.l fbquant.l fbrot.l \
fbsample.l fbsharp.l gray2clr.l idiff.l pbm2ps.l pbmtitle.l raw2fbm.l \
qrt2fbm.l fbham.l uunet2fbm.l tiff2fbm.l fbmedian.l fbconv.l fbthin.l
.include <bsd.port.mk>

1
graphics/fbm/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (fbm-1.2.tgz) = 9081bc67c6169e07688086d59efdc3a5

View file

@ -0,0 +1,69 @@
*** Makefile.orig Thu Jun 3 11:30:50 1993
--- Makefile Tue Feb 17 14:37:50 1998
***************
*** 63,94 ****
#
################################################################
! INSTALL= ln
! BIN= /usr/mlm/bin/
! MAN= /usr/mlm/man/
! FTP= /usr/mlm/ftp/
! TIFINC= ../tiff/libtiff/
! TIFLIB= ../tiff/libtiff/
MANEXT= l
# Make the C compiler behave on the NeXT
! DBG= -g -D__STRICT_BSD__
#----------------JPEG linkage----------------
# If you don't have the JPEG library, use these two lines
! #JPEG=
! #JLIB=
# If you have the JPEG library, use the next lines instead
! JPEG= -DDO_JPEG -I../jpeg
! JLIB= -L../jpeg -ljpeg
#----------------Utah RLE linkage----------------
# If you don't have the Utah RLE library, use these two lines
RLE=
RLIB=
# If you have the Utah RLE library, use the next lines instead
! #RLE= -DRLE -I/usr/mlm/include
! #RLIB= -L. -lfbm -L/usr/mlm/lib -lrle
LIB= -L. -lfbm $(JLIB) $(RLIB)
--- 63,94 ----
#
################################################################
! INSTALL= install
! BIN= $(PREFIX)/bin/
MANEXT= l
+ MAN= $(PREFIX)/man/man$(MANEXT)/
+ FTP= /usr/mlm/ftp/
+ TIFINC= $(LOCALBASE)/include/
+ TIFLIB= $(LOCALBASE)/lib/
# Make the C compiler behave on the NeXT
! # DBG= -g -D__STRICT_BSD__
#----------------JPEG linkage----------------
# If you don't have the JPEG library, use these two lines
! JPEG=
! JLIB=
# If you have the JPEG library, use the next lines instead
! #JPEG= -DDO_JPEG -I$(LOCALBASE)/include
! #JLIB= -L$(LOCALBASE)/lib -ljpeg
#----------------Utah RLE linkage----------------
# If you don't have the Utah RLE library, use these two lines
RLE=
RLIB=
# If you have the Utah RLE library, use the next lines instead
! #RLE= -DRLE -I$(LOCALBASE)/include
! #RLIB= -L. -lfbm -L$(LOCALBASE)/lib -lrle
LIB= -L. -lfbm $(JLIB) $(RLIB)

1
graphics/fbm/pkg-comment Normal file
View file

@ -0,0 +1 @@
Fuzzy Pixmap Manipulation utilities.

51
graphics/fbm/pkg-descr Normal file
View file

@ -0,0 +1,51 @@
This collection provides a complete package for manipulating and
converting color and black and whites images, including 24bit RGB, 8bit
mapped color, 8bit grayscale, and 1bit bitmapped images.
clr2gray Convert color to grayscale
fbcat Copy image (used for format conversion)
fbclean Flip isolated pixels (clean image)
fbconv Arbitrary convolutions
fbedge Compute derivative image (edge detection)
fbext Extract region, resize, change aspect ratio
fbgamma Gamma correct grayscale or color image for display
fbhalf Halftone grayscale image (Blue noise, Floyd-Steinberg, etc)
fbham Convert FBM 24bit RGB to Amiga HAM mode
fbhist Compute histogram
fbinfo Dump image header
fbm2pod Convert grayscale image to Diablo graphics (!)
fbm2tga Convert image to Targa format
fbm2tiff Convert FBM files to 1, 2, 4, 8, or 24 bit TIFF
fbmask Set region to gray value
fbmedian Median filter 3x3 regios
fbnorm Normalize image intensity / increase contrast
fbpalet Replace an imager's colormap with another, remove duplicates
fbps Convert to PostScript
fbquant Color quantization (24 bit to 8..256 colors) Mod. Heckbert
fbrot Rotate 90, 180, or 270 degrees
fbthin Thin 1bit images
fbsample Sample a 1bit file to produce an 8bit file
fbsharp Sharpen (edge enhancement) by digital Laplacian
gray2clr Add a "gray" colormap to a grayscale image
idiff (and udiff) convert raw byte stream into byte difference
pbm2ps Convert PBM file to PostScript
pbmtitle Add a title to a PBM file
raw2fbm Convert raw file to FBM format (eg: Amiga Digiview files)
tga2fbm Convert Targa file to FBM format
tiff2fbm Convert tiff file to FBM format
uunet2fbm Convert UseNet Facesaver file to FBM format
File Formats
FBM (-F) FBM file with 256 byte header (with title & credits)
Sun (-S) Sun rasterfile with 32 byte header
Tiff (-T) Aldus TIFF
PBM (-P) Poskanzer format for 1bit files
GIF (-G) CompuServe GIF format
JPG (-J) JPEG JFIF format (cf The Independent JPEG Group)
RLE (-R) Utah RLE format
IFF (-I) Amiga IFF files (except HAM mode files)
PCX (-Z) PC PaintBrush format for IBM
Face (-B) Bennet Yee's 1bit files, used at CMU
___________
From the README file

65
graphics/fbm/pkg-plist Normal file
View file

@ -0,0 +1,65 @@
bin/clr2gray
bin/fbcat
bin/fbclean
bin/fbconv
bin/fbedge
bin/fbext
bin/fbgamma
bin/fbhalf
bin/fbham
bin/fbhist
bin/fbinfo
bin/fbm2pod
bin/fbm2tga
bin/fbmask
bin/fbmedian
bin/fbnorm
bin/fbpalet
bin/fbps
bin/fbquant
bin/fbrev
bin/fbrot
bin/fbsample
bin/fbsharp
bin/fbthin
bin/gray2clr
bin/idiff
bin/mps2fbm
bin/pbm2ps
bin/pbmtitle
bin/pic2fbm
bin/qrt2fbm
bin/raw2fbm
bin/tga2fbm
bin/udiff
bin/unmap
bin/uunet2fbm
man/manl/clr2gray.l.gz
man/manl/fbcat.l.gz
man/manl/fbclean.l.gz
man/manl/fbconv.l.gz
man/manl/fbedge.l.gz
man/manl/fbext.l.gz
man/manl/fbhalf.l.gz
man/manl/fbham.l.gz
man/manl/fbhist.l.gz
man/manl/fbinfo.l.gz
man/manl/fbm.l.gz
man/manl/fbm2pod.l.gz
man/manl/fbmask.l.gz
man/manl/fbmedian.l.gz
man/manl/fbnorm.l.gz
man/manl/fbps.l.gz
man/manl/fbquant.l.gz
man/manl/fbrot.l.gz
man/manl/fbsample.l.gz
man/manl/fbsharp.l.gz
man/manl/fbthin.l.gz
man/manl/gray2clr.l.gz
man/manl/idiff.l.gz
man/manl/pbm2ps.l.gz
man/manl/pbmtitle.l.gz
man/manl/qrt2fbm.l.gz
man/manl/raw2fbm.l.gz
man/manl/tiff2fbm.l.gz
man/manl/uunet2fbm.l.gz