Import Group 4 Tif

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
cepcm
Posts: 4
Joined: Mon Aug 11 2003

Import Group 4 Tif

Post by cepcm » Sun Feb 12 2006

Hi, can you tell me how to set an image to a tif group 4 file?

thanks

Jose
Amyuni Team
Posts: 550
Joined: Tue Oct 01 2002
Contact:

Post by Jose » Mon Feb 20 2006

Hello,

Below is c# code snippet which illustrates this.

Hope this helps?


private void btnExportToTiff_Click(object sender, System.EventArgs e)
{
/*===============================================================
' The text inside a PDF file is usually split into multiple parts,
' a single sentence or paragraph can consist of multiple pieces of text
' positioned independently inside the PDF document. The Optimize method
' attempts to regroup lines or paragraphs prior to exporting the PDF file
' into another format, or to make the file easier to edit.

' No optimization = 0
' Line optimization (Recommended) = 1
' Paragraph optimization = 2

FileName
name of the file with .tif extension to export to.

Resolution
72, 150, 300, 600

Options

0 = represents no compression
1 to 9 = represents the Jpeg Compression level to use. Note: This not supported by all TIFF viewers
10 = represents CCITT fax compression

axPDF.OptimizeDocument = 1;

All other values reserved for future use
===============================================================*/
try
{
axPDF.Open (System.IO.Directory.GetCurrentDirectory() + "\\temp.pdf", "");

axPDF.ExportToTiff (System.IO.Directory.GetCurrentDirectory() + "\\TIFF\\tiff_export_test_ver2.tif", 300, 10);

}
catch(Exception ex)
{
MessageBox.Show (ex.Message);
}
}

cepcm
Posts: 4
Joined: Mon Aug 11 2003

Post by cepcm » Mon Mar 20 2006

Thanks, but that is not what I was referring too. I want to know how in the open Creator, using the Image tool, how can I set the filename to a Group4 Tif file, as it only shows to allow bmp,jpg etc.

Thanks

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan » Tue Mar 21 2006

There is no .tiff extension in the list of filename. I will set it as a suggestion to our developers.

cepcm
Posts: 4
Joined: Mon Aug 11 2003

Post by cepcm » Sun Apr 09 2006

Is there a way to insert the tiff file programatically? The reason I ask is that the creator would be a great way to insert tif pages without having to use the printer driver to create the pdf. I see in the programmers guide that only allows JPG BMP, but thought I would still ask, as at times, some things are not documented.

Thanks

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan » Tue Apr 11 2006

I didn't try inserting a tiff file programmatically myself, and i don't have any application to try it here. If you get the chance to try this let us know what you find.

Post Reply