Converting PDF to tiff and set compression for output tiff by cloud API

    In this article, I will show you how to convert PDF to tiff and compress tiff file by cloud API application. Different with VeryPDF desktop version,  by the cloud based API conversion, you can run the conversion at any computer system like Mac, Windows, Linux and others. If you need, the conversion also could be done within Android based devices. Meanwhile during the conversion, you do not need to download any application, so you can save lots of time and space. Much more important, by the cloud application, you can save a lot of money.

The software I use is name as VeryPDF PDF to Image Converter Cloud API, by which we can convert PDF pages to Image files like JPG, PNG, normal TIFF, Faxable TIFF, GIF, TGA, PCX, BMP, etc. images. During the conversion, you can resize image, compress tiff and do other settings. Please check more information of this software on homepage, in the following part, I will show you how to run the conversion by the API applications.

First, API level testing.

  • Before buy one software, first we need to test it. All the VeryPDF software are free downloading and free trial. So please open any kind browser and input the following URL to check the conversion effect:
    http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=
    http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=
    verypdf.tif&-f=1&-l=1&-r=150&-dither=7&-forcebwtif&-threshold=200
    By this above link, we can convert PDF to tiff file and specify conversion page range, output image color, resolution and threshold.
  • Now let us analyze the URL. When you run the testing conversion, please change the URL of PDF to the real PDF you need to convert. Now VeryPDF cloud based application can not handle local PDF file. Please add the parameters you need to limit the conversion at the end of the URL. Now let us check the parameters for compression
  • -compress 1     : NONE compression
    -compress 2     : CCITT modified Huffman RLE
    -compress 3     : CCITT Group 3 fax encoding (1d)
    -compress 4     : CCITT Group 4 fax encoding
    -compress 5     : LZW compression
    -compress 6     : OJPEG compression
    -compress 7     : JPEG DCT compression
    -compress 8     : ADOBE_DEFLATE compression
    -compress 32773 : PACKBITS compression
    -compress 32809 : THUNDERSCAN compression
    -compress 32946 : DEFLATE compression
    -compress 88880 : 204x98  G4 ClassF TIFF
    -compress 88881 : 204x196 G4 ClassF TIFF
    -compress 88882 : 204x98  G3 ClassF TIFF
    -compress 88883 : 204x196 G3 ClassF TIFF
    -compress 88884 : CCITT Group 3 fax encoding (2d)
    All you need to do that add one of the above parameters at the end of the URL then you can compress the output tiff file. Here is an example for your reference:
    http://online.verypdf.com/api/?apikey=XXXX&app=pdftools&infile=
    http://online.verypdf.com/examples/cloud-api/verypdf2.pdf&outfile=r
    verypdf.tif&-r=300&-compress=32773&-multipage&-mono
    By the above URL, we can compress output tiff file by PACKBITS compression.

Second, run the real conversion.

  • When you run the real conversion, please change the API code to the real code you have or else the output will be watermark.
  • The API code is not free,  you need to register an account and then pay for it. By the API code, you can use more than 20 API application on VeryPDF.

By this method, we can convert PDF to tiff and compress tiff in the easiest method. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!