AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 2001

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2001.01.23 17:41 "how to 'change' Rows/Strip ?", by <bkr@jdi.no>
2001.01.23 18:00 "Re: how to 'change' Rows/Strip ?", by Helge Blischke

2001.01.23 17:41 "how to 'change' Rows/Strip ?", by <bkr@jdi.no>

Hi!

I've made an VB-application(sic.) using the wang' OCX's who comes 
with Windows NT. This app. is used for rotating and re-saving tiffs.
But it 'messess' up Rows/Strip:

Here's tiffinfo from a scanned image:
 bash$ /usr/local/bin/tiffinfo 144729.tif
 TIFF Directory at offset 0x8
   Subfile Type: (0 = 0x0)
   Image Width: 1584 Image Length: 1169
   Resolution: 200, 200 pixels/inch
   Compression Scheme: CCITT Group 4
   Photometric Interpretation: min-is-white
   Artist: "010118L000002-1"
   Rows/Strip: 1169
   Planar Configuration: single image plane 

And here's tiffinfo after the VB-appl:
TIFF Directory at offset 0x8
   Subfile Type: (0 = 0x0)
   Image Width: 1584 Image Length: 1169
   Resolution: 200, 200 pixels/inch
   Bits/Sample: 1
   Compression Scheme: CCITT Group 4
   Photometric Interpretation: min-is-white
   FillOrder: msb-to-lsb
   Artist: "010118L000876-1"
   Software: "Oi/GFS, writer v00.06.00P, (c) Wang Labs, Inc. 1990, 1991"
   Orientation: row 0 top, col 0 lhs
   Samples/Pixel: 1
   Rows/Strip: 160
   Planar Configuration: single image plane
   Group 4 Options: (0 = 0x0)
 
I want to make look like 'before' using libtiff. 
Why: We gotta to deliver the tiff's to an auld and _very_ 
picky tiffviewer.

Any hints, tips & trix are welcome

TIA


Bård
-- 
bkr@jdi.no