Do you have a PDF To Image Converter COM for .NET program? .NET SDK for PDF to Image Converting

I am looking for information about including this in some software I am developing. I would like price and license structure.

Customer
--------------------------------------------------

image
Thanks for your message, PDF To Image Converter SDK Developer License is $1995.00, you can download and purchase it from our website directly,

https://www.verypdf.com/app/pdf-to-image-converter/try-and-buy.html#buy-cvt-com

https://www.verypdf.com/order.php?order=soft&s=102518&p=102518-4466287&q=1&v=0&d=0

Developer License

Under one Developer License, you can integrate the corresponding SOFTWARE into your developed software and redistribute it with royalty-free. If the SOFTWARE contains source codes, you have the right to modify and reuse the codes under the Developer License.

VeryPDF
--------------------------------------------------
Do you have a native .Net version and if so, where can I find the documentation?

I installed the demo of the COM SDK and while it worked, it was very slow. It was taking about 50 seconds per page using the default settings in the application. I need to find options that can speed up the processing.

Thank you
Customer
--------------------------------------------------
We haven't a native .NET version, PDF To Image Converter SDK can be called from .NET code without any problem.

You can reduce bitcount and resolution, then you can convert your PDF file to image files quickly, for example,

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using VeryPDF;
using System.IO;

namespace WindowsFormsApplication1
{
        public partial class Form1 : Form
        {
                public Form1()
                {
                        InitializeComponent();
                }
               
                private void button1_Click(object sender, EventArgs e)
                {
                        string appPath = Path.GetDirectoryName(Application.ExecutablePath);
                        string strPDFFile = appPath + "\\test_files\\test.pdf";
                        string strOutFile = appPath + "\\_test_out.tif";
                        string strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";
                       
                        string strCmd = "-r 100 -mono " + strLicenseKey + " \"" + strPDFFile + "\" \"" + strOutFile + "\"";
                       
                        System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.PDFtoImageCom");
                        VeryPDF.PDFtoImageCom VeryPDFCom = (VeryPDF.PDFtoImageCom)System.Activator.CreateInstance(VeryPDFType);
                        string strReturn = VeryPDFCom.PDFToImageConverter(strCmd);
                        MessageBox.Show("Converter finished.");
                }
        }
}

"-r 100 -mono " options will convert your PDF file to image files quickly, please to try.

VeryPDF
--------------------------------------------------
Mono won't work. The images need to be 256 shades of gray. Where can I get a list of options that I can pass so I can test various settings and try for one that works best with our system?

Ideally, I would need 256 grayscale, 300dpi images converted from pdf pages. Typically pages are PDF's of an E size drawing (36" x 48").

Customer
--------------------------------------------------
You can use -gray option to create grayscale image files, for example,

private void button1_Click(object sender, EventArgs e)
{
        string appPath = Path.GetDirectoryName(Application.ExecutablePath);
        string strPDFFile = appPath + "\\test_files\\test.pdf";
        string strOutFile = appPath + "\\_test_out.tif";
        string strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";
       
        string strCmd = "-r 100 -gray " + strLicenseKey + " \"" + strPDFFile + "\" \"" + strOutFile + "\"";
       
        System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.PDFtoImageCom");
        VeryPDF.PDFtoImageCom VeryPDFCom = (VeryPDF.PDFtoImageCom)System.Activator.CreateInstance(VeryPDFType);
        string strReturn = VeryPDFCom.PDFToImageConverter(strCmd);
        MessageBox.Show("Converter finished.");
}

Please refer to full options at below,

C:\>pdf2img.exe
PDF2Image Version 2.0
Convert PDF files to Image files, include TIFF, JPEG, GIF, PNG, BMP, EMF, PCX, TGA. etc.
Web: https://www.verypdf.com/
Email: support@verypdf.com
Build date: Apr 20 2011
Support raster image formats:
1. BMP: Microsoft Windows bitmap
2. GIF: CompuServe Graphics Interchange Format
3. JPG: Joint Photographic Experts Group JFIF format
4. PNG: Portable Network Graphics
5. TGA: Truevision Targa image
6. PCX: ZSoft IBM PC Paintbrush file
7. PNM: Portable anymap
8. RAS: SUN Raster Format
9. PBM: Portable bitmap format (black and white)
10. TIF: Tagged Image File Format
Usage: pdf2img [options] <PDF-file> <img-file>
-f <int> : first page to print
-l <int> : last page to print
-r <int> : resolution for both X and Y, in DPI (default is 150)
-xres <int> : xresolution, in DPI (default is 150)
-yres <int> : yresolution, in DPI (default is 150)
-w <int> : set image width, unit is pixel
-h <int> : set image height, unit is pixel
-mono : generate a monochrome image file
-gray : generate a grayscale image file
-dither <int> : enable or disable dithering when reduce the number of bits per pixel to nbit (1, 4 or 8)
-compress <int> : set compression to TIFF format:
-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 32773 : PACKBITS compression
-compress 32809 : THUNDERSCAN 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)
-quality <int> : set quality to JPEG format, from 0 to 100
-multipage : create multipage TIFF file
-aa <string> : enable font anti-aliasing: yes/no, default is 'yes'
-aavec <string> : enable vector anti-aliasing: yes/no, default is 'yes'
-aaimg <string> : enable image anti-aliasing: yes/no, default is 'yes'
-opw <string> : owner password (for encrypted files)
-upw <string> : user password (for encrypted files)
-trimimage : trim image file
-forcebwtif : force to create black and white TIFF files
-listfiles : list converted files to screen
-threshold <int> : the lightness threshold that used to convert image to B&W
-forcexdpi <int> : force to set X DPI to image file
-forceydpi <int> : force to set Y DPI to image file
-suffix : set first filename to img0001.jpg format
-checkhiddentext : extract images that do not have underlying text
-$ <string> : input your license key
-h : print usage information
-? : print usage information
Example:
pdf2img.exe C:\in.pdf C:\out.tif
pdf2img.exe C:\in.pdf C:\out.gif
pdf2img.exe C:\in.pdf C:\out.jpg
pdf2img.exe C:\in.pdf C:\out.bmp
pdf2img.exe C:\in.pdf C:\out.png
pdf2img.exe -f 1 -l 10 -r 300 -mono C:\in.pdf C:\out.tif
pdf2img.exe -compress 88881 -mono C:\in.pdf C:\out.tif
pdf2img.exe -compress 88881 -mono -multipage C:\in.pdf C:\out.tif
pdf2img.exe -trimimage C:\in.pdf C:\out.png
pdf2img.exe -opw 123 -upw 456 -aa no C:\in.pdf C:\out.png
for %F in (D:\temp\*.pdf) do pdf2img.exe "%F" "%~dpnF.png"
for /r D:\temp %F in (*.pdf) do pdf2img.exe "%F" "%~dpnF.png"
for %F in (D:\temp\*.pdf) do pdf2img.exe "%F" "%~F.png"
pdf2img.exe -dither 1 -mono C:\in.pdf C:\out.tif
pdf2img.exe -dither 0 -mono C:\in.pdf C:\out.tif
pdf2img.exe -checkhiddentext -mono C:\in.pdf C:\out.tif

VeryPDF
--------------------------------------------------
I have been testing this for a few days. We are currently using another vendors product to do the PDF->Tiff conversion, but it is failing to convert a small percentage of the files our clients are needing. Your software converts all of them just fine, but takes over 5 times longer per page. Here is the code I am using with the demo software.

Dim strLicenseKey As String = "-$ XXXX-XXXX-XXXX-XXXX"

Dim strCmd As String = String.Format("-r 200 -gray -compress 5 ""{0}"" ""{1}""", strPDFFile, strOutFile)
Dim sw As New Stopwatch
Dim VeryPDFType As System.Type = System.Type.GetTypeFromProgID("VeryPDF.PDFtoImageCom")
sw.Start()
Dim VeryPDFCom As VeryPDF.PDFtoImageCom = DirectCast(System.Activator.CreateInstance(VeryPDFType), VeryPDF.PDFtoImageCom)
Dim strReturn As String = VeryPDFCom.PDFToImageConverter(strCmd)
sw.Stop()
MsgBox("Conversion finished. " & sw.ElapsedMilliseconds.ToString)

We require 200DPI greyscale TIF images for our final application, ideally with LZW compression. I would like to not have to include two different PDF converters, but I don't want to dramatically slow down most users just to help a few edge cases. Please let me know if there is anything that I can do to improve the performance.

Customer
--------------------------------------------------
We suggest you may choose JPEG as output format to try again, e.g.,

Dim strCmd As String = "-r 200 -gray D:\test.pdf D:\out.jpg";

We hoping you can convert PDF file to JPEG format faster than TIFF format.

btw, the trial version will add some watermark test into output image files, these demo watermarks will speed more time if you have big and many output image files, because demo watermark function will need to add demo watermarks to these image files one by one.

You can also increase DPI and use -mono options to save the conversion time, e.g.,

Dim strCmd As String = "-r 300 -mono D:\test.pdf D:\out.tif";

Our PDF2Image COM is support halftone technology for mono images, so the image files will be clear enough in black and white mode.

VeryPDF

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!