-
Notifications
You must be signed in to change notification settings - Fork 1
Home
suzumura-ss edited this page Sep 13, 2010
·
6 revisions
Welcome to the tifftojpeg wiki.
Copyright 2009, Toshiyuki Suzumura. under GPL license.
- Mar 11 2009: version 0.1 … first commit.
“tifftojpeg” is console utility, it export each images(JPEG) from TIFF.
- Quality of JPEG compression.
- Write JPEG stream to “file” or “stdout”.
“stdout” is useful to use with image prosessor, e.g. “ImageMagick”.
ImageMagick is load all image-data into memory ( or tempolary file ).
So, If we handle HUGE-TIFF file, system will become slashing.
‘tifftojpeg’ is trying to resolve this probrem.
- libjpeg-devel
- libtiff-devel
It install into “/usr/local/bin” by default.
See “tifftojpeg -h” for command-line options.
$ tifftojpeg foo.tiff bar_%d.jpg
=> Render “bar_n.jpg” from “foo.tiff”, JPEG quality is 100(BEST). n=1,…
$ tifftojpeg foo.tiff -q 50 bar_%d.jpg
=> Render “bar_n.jpg” from “foo.tiff”, JPEG quality is 50. n=1,…
$ flashtojpeg foo.tiff -r "200x200>" thumb_%d.jpg
=> Render “thumb_n.jpg” from “foo.tiff”, resized-JPEG quality is 100(BEST). n=1,…
Resize-geomtory is same as ImageMagick::convert.