- 2005.09.08 20:07 "Re: [Tiff] creating JPEG file", by Bob Friesenhahn
- 2005.09.08 20:49 "Re: [Tiff] creating JPEG file", by Joris Van Damme
-
2005.09.08 23:04 "Re: [Tiff] creating JPEG file", by Bob Friesenhahn
- 2005.09.08 23:16 "Re: [Tiff] creating JPEG file", by Joris Van Damme
- 2005.09.09 09:31 "Re: [Tiff] creating JPEG file", by Joris Van Damme
2005.09.08 23:04 "Re: [Tiff] creating JPEG file", by Bob Friesenhahn
I have some image data with the following conditions:
- There can be 1 or more tiles for each image.
- For each tile, there are 4 planes. Each plane corresponds to the components in the CYMK colour space.
- The data for each plane is JPEG encoded.
I just verified that GraphicsMagick 1.2 is able to read and write a
TIFF file conforming to your specification using libtiff 3.7.3. A
sample is attached. I do not expect that many applications will be
able to open this file.
This file was created via the GraphicsMagick incantation:
gm convert infile.jpg -colorspace cmyk -interlace plane -compress jpeg \
-define tiff:tile-geometry=16x16 planar-jpeg.tiff
This is what tiffinfo reports:
% tiffinfo planar-jpeg.tiff
TIFF Directory at offset 0x3e7c
Image Width: 120 Image Length: 95
Tile Width: 16 Tile Length: 16
Bits/Sample: 8
Sample Format: unsigned integer
Compression Scheme: JPEG
Photometric Interpretation: separated
Ink Set: CMYK
FillOrder: msb-to-lsb
YCbCr Subsampling: 2, 2
Orientation: row 0 top, col 0 lhs
Samples/Pixel: 4
Planar Configuration: separate image planes
White Point: 0.3127-0.329
DocumentName: planar-jpeg.tiff
Software: GraphicsMagick 1.2 unreleased Q16 http://www.GraphicsMagick.org/
PrimaryChromaticities: 0.640000,0.330000,0.300000,0.600000,0.150000,0.060000
JPEG Tables: (289 bytes)
Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/