VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12[3]45678910 ]


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

Date Posted: 06:53:56 07/23/03 Wed
Author: Mike
Subject: Re: Corrupt Tiffs
In reply to: Mike Haiss 's message, "Re: Corrupt Tiffs" on 14:11:33 07/22/03 Tue


Hi Mike,

No, I don't have many ideas to detect if a group4 file will not load in Imaging for Windows. One thing I would check is trace in the debugger the loading in EnTifGr.Pas. One common cause of error I have found with some tiff files, is that they are missing a few tiff tags and assume default values. You will see any missing tags will tracing the source code. I am not sure this is the problem but it is worth a try.

Best regards,

Michel



>Actually they are group4 compression and I loaded them
>with the TTiffGraphic and no exception is thrown.
>Hence my dilema. I've compared all the tags between
>the good and corrupt images and have found no
>difference. Any ideas?
>>
>>Hi Mike,
>>
>>This is most likely tiff files with JPEG compression.
>>Envision uses the revised Tiff 6 specification, and
>>windows imaging does not. You should find more info on
>>this on www.libtiff.org.
>>
>>It goes both ways, tiff (with jpeg compression) saved
>>with Envision will not load in imaging for windows and
>>vice versa.
>>
>>To detect those files, just try to load them with a
>>TTiffGraphic. If there is an exception, it is windows
>>imaging files, and if it loaded properly and the
>>TiffGraphic.Compression = tcJPEG, then it is the
>>revised jpg compression.
>>
>>Best regards,
>>
>>Michel
>>
>>>I am having a problem with corrupt Tiffs that will
>not
>>>load in Windows imaging. My problem is that I want
>>>to write a program in CB6 to find the corrupt images
>>>and list them. However the envision package will
>open
>>>them. Is there any tag (or anything) I can access in
>>>code that will tell me when the image is corrupt? In
>>>the envision package the corrupt area of the images
>>>has black lines and black blocks over it when it is
>>>displayed.
>>>Any help would be appreciated...

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

[ 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.