Selecting tiled tiff

Bob Friesenhahn <[email protected]> Sun, 30 Jan 2005 22:05:13 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
GraphicsMagick has been able to read tiled tiffs since its initial 
release. Tiled tiffs are written as rectangles (to ease random access) 
rather than row-width strips.  Code has existed for writing tiled 
tiffs for ages, but it has also been broken for ages and probably 
didn't work very well anyway.  So I need to write a new tiled tiff 
writer.

One problem is that the existing gm user interface has no means to 
request tiled output rather than strip output.  There is an existing 
-tile option, but this is used for a different purpose.

Selecting tiled output could be done via options like:

  Enable tiled output (with default size, or specified separately)
   -define tiff:tile

  Use an exact tile size in rows & columns
   -define tiff:tile-geometry=128x128

  Use a specific tile width (pixels)
   -define tiff:tile-width=128

  Use a specific tile height (pixels)
   -define tiff:tile-height=8192

Does this interface seem ok?

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl