[ 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: [1]2345678910 ]

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

Date Posted: 09:43:29 07/14/04 Wed
Author: glup
Subject: Re: Class F TIFF Files from Envision
In reply to: L. S. Lichtmann 's message, "Class F TIFF Files from Envision" on 14:45:28 07/07/04 Wed

>I'm trying to produce a faxable TIFF file for use by a
>FAX board that accepts ONLY class F files. Is this
>possible using the Envision libary, and if so, can
>someone give me some pointers on how to go about doing
>it? Thanks.

No Problem with that. Class F is Fax and requires a bi-level image with a specific Compression and specific resolutions.

Use TTiffGraphic (EnTifGr) and decide upon the compression:
Group 3
1d -> tcGroup3_1d
2d -> tcGroup3_2d
Group 4 -> tcGroup4
The list is sorted by increasing compression effecity resp decreasing resulting file size. o from that point of view you would like to use tcGroup4.

Group 3 is defined for standard POTS, while Group 4 was defined for ISDN Fax. State-of-the-art G3 faxing solutions support also the G4 compression, but I belive they are seldom. So normally for a good fax board tcGroup3_2d should fine, otherwise tcGroup3_1d. You should check, if the fax board could change the compression on the fly if the other side does not support the one you have specified. If not and you do not know if the other side supports tcGroup3_2d you have to use the smallest common dominator tcGroup3_1d.

Call TTiffImage.NewImage to create the new image. ImageFormat has to be ifBlackWhite and InXDotsPerInch 204.

If you intent to create a "fine" fax, use 198 for InYDotsPerInch, if not 98.

After creating the image set the Compression and draw the image. If you are finished, write the first page of a file with SaveToStream and all following with AppendToStream.


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