added tiff2rgba

This commit is contained in:
Frank Warmerdam 1999-08-16 18:26:37 +00:00
parent 469f9d6b92
commit ef0bad9eae
2 changed files with 15 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $Header: /cvs/maptools/cvsroot/libtiff/tools/Makefile.in,v 1.1 1999-07-27 21:50:28 mike Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/tools/Makefile.in,v 1.2 1999-08-16 18:26:37 warmerda Exp $
#
# @WARNING@
#
@ -65,6 +65,7 @@ OBJS= \
ras2tiff.o \
thumbnail.o \
tiff2bw.o \
tiff2rgba.o \
tiff2ps.o \
tiffcmp.o \
tiffcp.o \
@ -84,6 +85,7 @@ TARGETS =\
thumbnail \
ras2tiff \
tiff2bw \
tiff2rgba \
tiff2ps \
tiffcmp \
tiffcp \
@ -172,6 +174,12 @@ tiff2bw: tiff2bw.o ${TIFFLIB}
tiff2bw.o: ${SRCDIR}/tiff2bw.c
${CC} -c ${CFLAGS} ${SRCDIR}/tiff2bw.c
# convert anything to RGBA.
tiff2rgba: tiff2rgba.o ${TIFFLIB}
${CC} -o tiff2rgba ${CFLAGS} tiff2rgba.o ${LIBS}
tiff2rgba.o: ${SRCDIR}/tiff2rgba.c
${CC} -c ${CFLAGS} ${SRCDIR}/tiff2rgba.c
# convert B&W image to bilevel w/ FS dithering
tiffdither: tiffdither.o ${TIFFLIB}
${CC} -o tiffdither ${CFLAGS} tiffdither.o ${LIBS}

View File

@ -1,4 +1,4 @@
# $Header: /cvs/maptools/cvsroot/libtiff/tools/Makefile.lcc,v 1.1 1999-07-27 21:50:28 mike Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/tools/Makefile.lcc,v 1.2 1999-08-16 18:26:37 warmerda Exp $
#
# TIFF Library Tools
#
@ -52,6 +52,7 @@ OBJS=\
ppm2tiff.o \
rgb2ycbcr.o \
tiff2bw.o \
tiff2rgba.o \
tiff2ps.o \
tiffcmp.o \
tiffcp.o \
@ -70,6 +71,7 @@ ALL=\
ppm2tiff.ttp \
rgb2ycbcr.ttp \
tiff2bw.ttp \
tiff2rgba.ttp \
tiff2ps.ttp \
tiffcmp.ttp \
tiffcp.ttp \
@ -101,6 +103,9 @@ tiff2ps.ttp: tiff2ps.c ${LIBTIFF}
# convert RGB image to B&W
tiff2bw.ttp: tiff2bw.c ${GETOPT} ${LIBTIFF}
${CC} -o tiff2bw.ttp ${CFLAGS} tiff2bw.c ${GETOPT} ${LIBS}
# convert anything to RGBA
tiff2rgba.ttp: tiff2rgba.c ${GETOPT} ${LIBTIFF}
${CC} -o tiff2rgba.ttp ${CFLAGS} tiff2rgba.c ${GETOPT} ${LIBS}
# convert B&W image to bilevel w/ FS dithering
tiffdither.ttp: tiffdither.c ${LIBTIFF}
${CC} -o tiffdither.ttp ${CFLAGS} tiffdither.c ${LIBS}