VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 17:35:53 12/05/02 Thu
Author: Marcel
Subject: Re: TIFF Tag 278
In reply to: Marcel 's message, "TIFF Tag 278" on 17:25:56 12/05/02 Thu

Actually I should make one clarification. FRowsPerStrip is defined as a LongInt not a LongWord (probably should be a LongWord if the spec mentions 2^32-1). In testing I assigned MaxInt not 2^32-1 but this still worked fine (any fairly large number should work). I have ammended my copy of EnTifGr.pas to contain the following line:

CDefaultRowsPerStrip = MaxInt;

and that works fine.

>I've just encountered a file that could be read fine
>by Wang Imaging among other graphics apps but is not
>read correctly by Envision. The tag 278 is missing and
>Envision is defaulting to CDefaultRowsPerStrip (16).
>According to the TIFF spec the default should be 2^32
>- 1. I ran my app and when this error occured changed
>the value to this in the debugger and the graphic
>loaded fine. Why is CDefaultRowsPerStrip set to 16?

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.