[ 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: 12345[6]78910 ]

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

Date Posted: 21:24:45 05/06/02 Mon
Author: Michel
Subject: Re: Setting Reversed Bit Order for CCITT Group 3 Fax
In reply to: Steven 's message, "Setting Reversed Bit Order for CCITT Group 3 Fax" on 16:46:31 05/06/02 Mon

Hi Steven,

I am not sure I understand this completely, but I assume that what you mean by "bit order" is if a 1 is interpreted as black or white.

Envision only saves with one interpretation, but you probably want the other one.

You will need to modify some code in EnTifGr.Pas and use the negative transform before saving the image.

In, WriteDibToTiffStream,

if Dib.Compression in [tcGroup3_1d, tcGroup3_2d, tcGroup4] then
PhotometricInterpretation := 0
PhotometricInterpretation := 1;

You would need to change the logic to have PhotometricInterpretation = 1, with group3_1d, but make sure to invert the image first.

Best regards,


>First off, I purchased this product to convert fax
>files to jpg to display on the web. It workes
>perfectly, even better and easier then I imagined it
>would be. Now I have come to a bit of a stump. I
>need to be able to convert images to faxes. I am able
>to save as CCIT Group 3 as b/w and proper x/y
>resolutions but I just cannot figure out how to set
>the Bit Order to Reversed which is required for our
>company's fax boards. It can be set with windows
>imaging very easily but I need it to be done in our
> Please advise.
>TTiffGraphic* Tiff = new TTiffGraphic();
>Tiff->Compression = tcGroup3_1d;
>Tiff->??? = [bit order?];

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