1img-tiff(n)                           Img                          img-tiff(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       img-tiff - Img, Tagged Image File Format (tiff)
9

SYNOPSIS

11       package require Tk
12
13       package require img::tiff  ?1.4?
14
15       image create photo ?name? ?options?
16
17______________________________________________________________________________
18

DESCRIPTION

20       The  package  img::tiff  is a sub-package of Img. It can be loaded as a
21       part of the complete Img support, via package require Img,  or  on  its
22       own, via package require img::tiff.
23
24       Like  all packages of Img it does not provide new commands, but extends
25       the existing Tk command image so  that  it  supports  files  containing
26       raster images in the Tagged Image File Format (tiff). More specifically
27       img::tiff extends Tk's photo image type.
28
29       The name of the new format handler is tiff.  This handler provides  new
30       additional  configuration  options.  See  section TIFF OPTIONS for more
31       detailed explanations.
32
33       All of the above means that in a call like
34
35       image create photo ?name? ?options?
36
37       [1]    Image data in tiff format (options -data and -file) is  detected
38              automatically.
39
40       [2]    The  format  name  tiff is recognized by the option -format.  In
41              addition the value for the option is treated  as  list  and  may
42              contain  any  of  the  special  options  listed  in section TIFF
43              OPTIONS.
44

TIFF OPTIONS

46       The handler provides three options, one for reading from a TIFF  image,
47       the other two influencing the writing of such.
48
49       -index n
50              This  option is for reading from TIFF files containing more than
51              one image (multi-page TIFF. When specified it will read the n'th
52              image  in  the  data.  The first image is at index 0 and will be
53              read by default, i.e. when the option is not specified.
54
55       -compression type
56              This option specifies the type of compression to use when  writ‐
57              ing  TIFF  data.  It  has  to be one of none, jpeg, packbits, or
58              deflate. The default is none.
59
60       -byteorder type
61              This option specifies the byteorder to  use  when  writing  TIFF
62              data.  It  has  to  be  one of bigendian, littleendian, network,
63              smallendian, or the empty  string.  The  default  is  the  empty
64              string.
65
66              The  values  bigendian and network are aliases of each other, as
67              are littleendian and smallendian.
68

SEE ALSO

70       img-bmp, img-dted, img-gif, img-ico, img-intro, img-jpeg, img-pcx, img-
71       pixmap,  img-png,  img-ppm, img-ps, img-raw, img-sgi, img-sun, img-tga,
72       img-tiff, img-window, img-xbm, img-xpm
73

KEYWORDS

75       image handling, tiff, tk
76
78       Copyright (c) 1995-2009 Jan Nijtmans <nijtmans@users.sourceforge.net>
79
80
81
82
83img-tiff                              1.4                          img-tiff(n)
Impressum