Open Source Pdf To Tiff

Active2 years, 1 month ago

I need a Java library to convert PDFs to TIFF images. The PDFs are faxes, and I will be converting to TIFF so that I can then do barcode recognition on the image. Can anyone recommend a good free open source library for conversion from PDF to TIFF?

RedFilter

Open Source Pdf Reader

RedFilter
140k31 gold badges251 silver badges258 bronze badges
Open Source Pdf To Tiff

Open source to convert pdf to tiff. The above mentioned open source is very helpful in converting PDF to TIFF one by one. However, if youhave many PDF files to convert or need to convert PDF to TIFF regularly, I’d strongly recommend the 7-in-1 PDF Converter, which allows you to convert up to 200 PDF files to TIFF. NeOCR is a free software based on Tesseract (Open Source OCR Engine) for the Windows operating system. It provides an easy and user-friendly user interface to recognize texts contained in images as well as PDF documents and convert to editable text formats (.txt,.doc,.docx). This product is accessible to Blind and Visually Impaired peoples (tested with NVDA and Narrator).

closed as off-topic by p.s.w.g, rgettman, ryan1234, animusonJul 22 '13 at 20:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – p.s.w.g, rgettman, ryan1234, animuson
If this question can be reworded to fit the rules in the help center, please edit the question.

9 Answers

Disclaimer: I work for Atalasoft

We have an SDK that can convert PDF to TIFF. The rendering is powered by Foxit software which makes a very powerful and efficient PDF renderer.

Lou FrancoLou Franco
76.7k14 gold badges120 silver badges178 bronze badges
Open

I can't recommend any code library, but it's easy to use GhostScript to convert PDF into bitmap formats. I've personally used the script below (which also uses the netpbm utilties) to convert the first page of a PDF into a JPEG thumbnail:

You can use -sDEVICE=tiff... to get direct TIFF output in various TIFF sub-formats from GhostScript.

AlnitakAlnitak
283k63 gold badges358 silver badges444 bronze badges

we here also doing conversion PDF -> G3 tiffs with high and low res. From my experience the best tool you can have is Adobe PDF SDK, the only problem with it is its insane price. So we don't use it.

what works fine for us is ghostscript, last versions are pretty much robust and do render correctly majority of the pdfs. And we have quite a few of them coming during the day. In production conversion is done using the gsdll32.dll; but if you want to try it use the following command line:

it would convert your PDF into the high res G3 TIFF. and prefix.ps code is here:

another thing about this sdk is that it's open source; you're getting both c and ps (postscript) source code for it. Also if you're going with another tool check what kind of an engine they have to power the pdf rendering, it could happen they are using gs for it; like for instance LeadTools does.

hope this helps, regards

serge_gubenkoserge_gubenko
17.5k2 gold badges45 silver badges55 bronze badges

You can use the icepdf library (Apache 2.0 License).They even provide this exact use case as one of their example source code:http://wiki.icesoft.org/display/PDF/Multi-page+Tiff+Capture

agrzagrz

Maybe it is not neccessary to convert the PDF into TIFF. The fax will most likely be an embedded image in the PDF, so you could just extract these images again. That should be possible with the already mentioned iText library.

I don't know if this is easier than the other approach.

zap
p.s.w.g
125k19 gold badges226 silver badges265 bronze badges
gustigusti

No Itext can not convert PDFs to Tiff.

However, there are commercial libraries that can do that. jPDFImages is a 100% java library that can convert PDF to images in TIFF, JPEG or PNG formats (and maybe JBIG? I am not sure). It can also do the reverse, create PDF from images. It starts at $300 for a server.

Lilounet

Here is a good article and wrapper classes for using GhostScript with C# .NET...ended up using this in production

woggleswoggles
4,39710 gold badges58 silver badges117 bronze badges

I have some great experience with iText (now, I'm using 5.0.6 version) and this is the code for tiff convertion into pdf:

Andrea RedshotAndrea Redshot
Open Source Pdf To Tiff

Not the answer you're looking for? Browse other questions tagged javapdftiff or ask your own question.

PRODUCT DISCLOSURE $

A file with the TIF or TIFF file extension is a tagged image file. This type of file is used for high-quality raster type graphics. The format supports lossless compression, in which no image data is lost during the compression process. This lets graphic artists and photographers archive their high-quality photos in a manageable amount of storage space without compromising quality.

TIFF and TIF can be used interchangeably. TIFF is an acronym for tagged image file format.

GeoTIFF image files also use the TIF file extension. These are image files that store GPS coordinates as metadata with the file, using the extensible features of the TIFF format.

Some scanning, faxing, and optical character recognition (OCR) applications also utilize TIF files.

Opening TIF File

Windows Photo Viewer or Photos apps, which is included with the different version of Windows, can be used to view a TIF file. These apps don't provide a means for editing those files, however. On a Mac, the Preview app can open TIF files.

Third-party apps are also available for viewing and editing TIF files, especially in the case of multi-page TIF files. Popular apps include ​GraphicConverter, ACDSee, ColorStrokes, and XnView.

Editing TIF Files

Pdf To Tiff Open Source

One option for editing a TIF file is to use one of the conversion tools below. These don't require installing a full-fledged photo editing program that specifically supports the TIF format, but it does change the format of the file from TIF.

If you want to keep the TIF format and edit it, you can use the free photo editing program GIMP. Some other popular photo and graphics tools can work with TIF files, such as Adobe Photoshop, but these are often not available for free.

If you're working with a GeoTIFF image file, you can open the TIF file with a program like Geosoft Oasis montaj, ESRI ArcGIS Desktop, or GDAL.

How to Convert a TIF File

If you have an image editor or viewer on your computer that supports TIF files, you can open the file in that program, and then save the TIF file as a different image format, such as JPG. This can usually be accomplished through the program's File menu, like File > Save as, and selecting a different image format.

There are online file converters, as well as free image converter programs you can use. In some cases, free online document converters can also handle TIF file conversions, too.

For example, CoolUtils.com and Zamzar are two free online TIF converters that can save TIF files as JPG, GIF, PNG, ICO, TGA, and even PDF file formats. GeoTIFF image files can generally be converted in the same way as a regular TIF/TIFF file.

If converting a GeoTIFF image file, the GPS metadata may be lost in the process.

Open Source Pdf To Tiff

More Information on the TIF/TIFF Format

Open Source Pdf To Tiff Converter

The TIFF format was developed by a company called Aldus Corporation for desktop publishing purposes. Version 1 of the standard was released in 1986. TIFF became an international standard format in 1993. Adobe now owns the copyright to the TIF format.