81bfbd62f7
It can do lossless rotations like jpegtran, but unlike jpegtran it cares about the EXIF data: It can rotate images automatically by checking the exif orientation tag, it updates the exif informaton if needed (image dimension, orientation), it also rotates the exif thumbnail. It can process multiple images at once. WWW: http://www.kraxel.org/blog/linux/fbida/
20 lines
381 B
Text
20 lines
381 B
Text
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../..
|
|
PROG= exiftran
|
|
SRCS= exiftran.c genthumbnail.c jpegtools.c filter.c op.c readers.c
|
|
|
|
.PATH: ${.CURDIR}/../../jpeg/80
|
|
SRCS+= transupp.c
|
|
|
|
.PATH: ${.CURDIR}/../../rd
|
|
SRCS+= read-jpeg.c
|
|
|
|
LDADD= -L${PREFIX}/lib -ljpeg -lexif
|
|
|
|
CFLAGS+= -I${PREFIX}/include -I${.CURDIR}/../../jpeg/80 \
|
|
-I${.CURDIR}/../.. -DHAVE_NEW_EXIF
|
|
|
|
MAN=
|
|
|
|
.include <bsd.prog.mk>
|