VeryDOC Cloud API Platform features

VeryDOC Cloud API benefits

VeryDOC Cloud API to convert HTML to PDF from PHP, Javascript, C#, VB.NET, C++, ASP, .NET, etc. program languages, it can also be used to split PDF, merge PDF, read barcodes, read Excel files, read spreadsheets, convert PDF to JSON, etc. operations.

  • Robust REST API to work with PDF, Barcodes (to read and to generate).
  • Cloud API SDKs are available for Javascript, PHP, Python, .NET, Ruby, Android, Objective-C, Android and many others or use the API directly.

image

PDF functions:

  • HTML to PDF – convert html to pdf. You may provide your own html code or URL to a webpage to convert into pdf.
  • PDF to CSV – extracts structured data from pdf files and save to CSV format.
  • PDF information – extracts author, producer, creation date, number of pages, how many embedded files, is it encrypted and other information.
  • PDF to TXT – converts PDF text content into plain text with a visual layout preserved based on the original pdf file.
  • PDF to JSON – extracts text and layout information from PDF and represents as JSON ready to be consumed by other API or your own code.
  • PDF To XML – extracts text and layout information from PDF and represents as XML data ready to be consumed by other API or your own code.
  • PDF to HTML – converts PDF into HTML page with text, images, layout preserved
  • PDF to PNG – renders pages from PDF into lossless high-quality PNG image files.
  • PDF to JPG – renders PDF pages into high quality JPEG images that you may use to preview pdf document or to represent PDF document.
  • Adds images and text to existing PDF – adds images into PDF file, adds text into PDF file and returns modified PDF.
  • Split PDF – extracts a range of pages or single pages from PDF file as separate pdf files.
  • Merge PDF – merges pages from existing PDF files into new one in a given order

Barcode functions:

  • Barcode generation – generate QR Code, Code 128, Code 39, PDF417, Code 39, Code 128 barcodes and get them as JPG, PNG, TIFF high quality images
  • Read barcodes – reads barcodes from PDF, reads barcode from image and returns JSON with information about barcodes found and decoded. Supports QR Code, Code 128, Code 39, Datamatrix, PDF417 and many many other barcode types. Supports noisy barcodes, rotated barcodes.
  • Pay per month, cancel at any time, no annual contracts required.

Please look at more information about VeryDOC Cloud API from these web pages,

http://www.verypdf.com/online/cloud-api/index.html
http://www.verypdf.com/online/cloud-api/try-and-buy.html

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in @VeryDOC Promotion | Tagged | Leave a comment

How to convert my pdf or jpeg files to vector formats?

I can't get the trial version to work; I'm hoping this program is what I'm seeking, to convert my pdf, and or jpeg files to vector instantly like it claims; unfortunately I load image, and I've yet to see the final result, to see if software even works, please help me get this to work.

In conclusion, I'm hoping it works, and a full version is reasonable in cost because I could use a program like this.

Customer
---------------------------------------------
We apologize for any inconvenience this may have caused to you, do you wish convert from raster PDF or JPG format to vector format? if yes, we suggest you may download "VeryDOC Raster to Vector Converter Command Line" from this web page, we hope this software will work fine to you,

http://www.verydoc.com/raster-to-vector-converter-command-line/index.html
http://www.verydoc.com/dl.php?file=raster2vector.zip

after you download it, you can run command lines to convert your raster PDF or JPG format to vector format easily, please look at following web pages for more information,

http://www.verydoc.com/blog/convert-raster-to-vector-image-by-command-line.html

http://www.verydoc.com/raster-to-vector-converter-command-line/convert-curves-and-splines-of-bitmap-to-vector.html

http://www.verydoc.com/raster-to-vector-converter-command-line/convert-raster-to-vector-and-change-color.html

http://www.verydoc.com/raster-to-vector-converter-command-line/png-to-eps-vector-converter.html

http://www.verydoc.com/raster-to-vector-converter-command-line/tiff-to-vector-converter.html

http://www.verydoc.com/blog/how-to-convert-raster-imagepdf-to-vector-image.html

http://www.verydoc.com/blog/how-to-set-output-vector-resolution-when-converting-raster-files-to-vector.html

Here is the detailed command line options which supported by Raster2Vector.exe application,

E:\>Raster2Vector.exe
Convert image files and PDF files to smooth and scalable vector formats.
Input formats: pdf, jpg, gif, png, tif, tga, pcx, pnm (pbm, pgm, ppm), bmp
Output formats: eps, postscript, ps, pdf, svg, dxf, pgm, emf
-pagesize parameter is support A4, A3, A5, B5, Letter, Legal, Tabloid, Statement, Executive, Folio, Quarto, 10x14. Format names are case insensitive.
-width and -height dimensions can have optional units, e.g. 6.5in, 15cm, 100pt. Default is inches (or pixels for pgm, dxf).
Usage: RasterToVector [options] <in-file> [<out-file>]
  -pagesize <string>   : set page size (default is letter)
  -width <string>      : width of output file, unit: in/cm/pt
  -height <string>     : height of output file, unit: in/cm/pt
  -res <string>        : resolution (in dpi)
  -rotate <string>     : rotate counterclockwise by angle
  -margin <string>     : set margin to output file, unit: in/cm/pt
  -lmargin <string>    : set left margin to output file, unit: in/cm/pt
  -rmargin <string>    : set right margin to output file, unit: in/cm/pt
  -tmargin <string>    : set top margin to output file, unit: in/cm/pt
  -bmargin <string>    : set bottom margin to output file, unit: in/cm/pt
  -tight               : remove whitespace around the input image
  -linecolor <string>  : set line color #rrggbb (default black)
  -fillcolor <string>  : set fill color #rrggbb (default transparent)
  -opaque              : make white shapes opaque
  -speckle <int>       : suppress speckles of up to this size (default 2)
  -invert              : invert color for input image
  -svggroup            : group related paths together
  -svgflat             : whole image as a single path
  -bwthreshold <int>   : set threshold value for color image to BW conversion, default is 240
  -method2             : use second method to convert raster to vector format
  -centerline          : trace a character's centerline, rather than its outline
  -pdfres <int>        : resolution to render PDF pages, default is 150 DPI
  -addcmd <string>     : Reserved parameter
  -v                   : Print copyright and version info
  -h                   : Print usage information
  -help                : Print usage information
  --help               : Print usage information
  -?                   : Print usage information
  -$ <string>          : Input registration key
Example:
   Raster2Vector.exe C:\*.tif C:\*.pdf
   Raster2Vector.exe C:\in.tif C:\out.eps
   Raster2Vector.exe C:\in.png C:\out.pdf
   Raster2Vector.exe C:\in.tif C:\out.ps
   Raster2Vector.exe C:\in.tif C:\out.svg
   Raster2Vector.exe C:\in.tif C:\out.pgm
   Raster2Vector.exe C:\in.tif C:\out.dxf
   Raster2Vector.exe -method2 C:\in.tif C:\out.emf
   Raster2Vector.exe -width 595pt -height 842pt C:\in.pdf C:\out.pdf
   Raster2Vector.exe -pagesize a4 C:\in.pdf C:\out.pdf
   Raster2Vector.exe -width 8.5 -height 11 C:\in.png C:\out.pdf
   Raster2Vector.exe -res 300 C:\in.png C:\out.pdf
   Raster2Vector.exe -margin 30pt C:\in.png C:\out.pdf
   Raster2Vector.exe -lmargin 10pt -tmargin 10pt -rmargin 10pt -bmargin 10pt C:\in.png C:\out.pdf
   Raster2Vector.exe -tight C:\in.png C:\out.pdf
   Raster2Vector.exe -linecolor #FF0000 C:\in.png C:\out.pdf
   Raster2Vector.exe -fillcolor #FF0000 C:\in.png C:\out.pdf
   Raster2Vector.exe -opaque C:\in.png C:\out.pdf
   Raster2Vector.exe -speckle 10 C:\in.png C:\out.pdf
   Raster2Vector.exe -invert C:\in.png C:\out.pdf
   Raster2Vector.exe -svggroup C:\in.png C:\out.svg
   Raster2Vector.exe -svgflat C:\in.png C:\out.svg
   Raster2Vector.exe -bwthreshold 240 C:\color.png C:\out.eps
   Raster2Vector.exe -method2 -centerline C:\color.png C:\out.eps
   Raster2Vector.exe -pdfres 300 C:\color.pdf C:\out.eps

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)
Posted in Raster to Vector Converter | Tagged , , | Leave a comment

PDF to Vector output file naming, how to remove page number from the output filenames?

Dear Support,

We are looking for application for batch converting vector PDF to vector WMF files. Your "PDF to Vector" application seems to be good for this task and we are considering to buy it, however, during testing, I have found one disturbing behavior of your software. Let me explain what we want to achieve: There are an increasing number of PDF files generated by our CAD software. Every such PDF has drawing on page 1 and then description table on page 2. We want to extract Page 1 only and convert it to WMF file for pasting them to technical documentation. I have used loop command in test script in a form:

FOR %%a in (*.pdf) DO e:\pdf2vec\pdf2vec.exe -firstpage 1 -lastpage 1 %%a %%~na.wmf

At first glance, everything works fine, but every output file has changed it's name by adding "001" to it.

Example:

We have input files:

File1.pdf
File2.pdf
File3.pdf
..

And we are expecting

File1.wmf
File2.wmf
File3.wmf
..

Instead of this we got:

File1001.wmf
File2001.wmf
File3001.wmf
..

I have looked for clue in your support page but with no luck.
Yes, we can add part removing "001" from output file names to PDF converting script, but maybe there is option forcing to use exact file name, without adding page number. We have hundreds of PDF files to convert and many of that files have sequence "001" in names already, so adding anything to it's names make a mess.

Kind Regards
Customer
------------------------------------
Please add "-noextname" option to try again,

-noextname : don't append suffix to filename of first page

for example,

FOR %%a in (*.pdf) DO e:\pdf2vec\pdf2vec.exe -noextname -firstpage 1 -lastpage 1 %%a %%~na.wmf

We hope this option will work fine to you, please add it to try again.

VeryDOC

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF to Vector Converter | Tagged , , | Leave a comment

C# source code example to count color pages in PDF, PS, Postscript, PCL, PRN, SPL, etc. files

Do you have an example on how I can use C# to pass through all of the pages of a pdf file and check each page to determine whether it is color or black and white?

I have a license for Spool File Page Counter SDK.

I found this url,
http://www.verypdf.com/wordpress/201106/counting-the-exact-number-of-pages-in-any-pdf-document-732.html#comments

It appears that I am using the demo version. How do I get the production version?

Customer
----------------------------------------------
Thanks for your message, you may download "Spool File Page Counter SDK" from this web page,

http://www.verydoc.com/spool-page-count.html
http://www.verydoc.com/ps-and-pcl-info-sdk.zip

after you download it, please unzip it to a folder, you will see "C-Sharp" and "C-Sharp-AnyCPU" two folders are included in the ps-and-pcl-info-sdk.zip file, these folders are C# examples, you can compile and run them in "Microsoft Visual Studio" properly.

You can call "ReadInfo.dll" from C# code directly, this is a C# example to call the "ReadInfo.dll" directly,

-----------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace ParsingTest {
    class Program {

        [DllImport("ReadInfo.dll", EntryPoint = "ReadInfoFromPCLFile")]
        public static extern Int32 ReadInfoFromPCLFile(
            string fileName,
            Int32 bIsRenderToPDF,
            ref uint bwPageCount,
            ref uint colorPageCount,
            ref uint copyCount,
            ref double pagewidth,
            ref double pageheight,
            StringBuilder paperSizeName);

        [DllImport("ReadInfo.dll", EntryPoint = "ReadInfoSetCode")]
        public static extern void ReadInfoSetCode(string strCode);

        static void Main(string[] args)
        {
            if (args.Length != 1)
            {
                Console.WriteLine("test.exe C:\\test.pcl");
                Console.WriteLine("test.exe C:\\test.ps");
                return;
            }
            Console.Write("args length is ");
            Console.WriteLine(args.Length); // Write array length
            for (int i = 0; i < args.Length; i++) // Loop through array
            {
                string argument = args[i];
                Console.Write("args index ");
                Console.Write(i); // Write index
                Console.Write(" is [");
                Console.Write(argument); // Write string
                Console.WriteLine("]");
            }
            string fileName = args[0];
            int bIsRenderToPDF = 1;
            uint bwPageCount = 0;
            uint colorPageCount = 0;
            uint copyCount = 0;
            double nPageWidth = 0;
            double nPageHeight = 0;
            StringBuilder strPaperSizeName = new StringBuilder(300);

            ReadInfoSetCode("XXXXXXXXXXXXXXXXXX");
            ReadInfoFromPCLFile(fileName, bIsRenderToPDF, ref bwPageCount, ref colorPageCount, ref copyCount, ref nPageWidth, ref nPageHeight, strPaperSizeName);

            Console.WriteLine(String.Format("File: {0}", fileName));
            Console.WriteLine(String.Format("Render To PDF: {0}", bIsRenderToPDF));
            Console.WriteLine(String.Format("BW Pages: {0}", bwPageCount));
            Console.WriteLine(String.Format("Color Pages: {0}", colorPageCount));
            Console.WriteLine(String.Format("Width: {0}", nPageWidth));
            Console.WriteLine(String.Format("Height: {0}", nPageHeight));
            Console.WriteLine(String.Format("Paper name: {0}", strPaperSizeName));
        }
    }
}
-----------------------------------

We are also provide a COM interface (FileInfoCOM.exe) based on ReadInfo.dll library, you can also call FileInfoCOM.exe from C# code instead of ReadInfo.dll library, please by following steps to use FileInfoCOM.exe COM interface,

1. Launch a CMD window by administrator privilege, run following command line to register FileInfoCOM.exe,

FileInfoCOM.exe /regserver

You can also run "install.vbs" to register FileInfoCOM.exe into your system.

2. After you register FileInfoCOM.exe into your system, you can add a reference to FileInfoCOM.exe from your C# code,

-----------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using FileInfoCOM;

namespace ParsingTest {
    class Program {

        static void Main(string[] args)
        {
            if (args.Length != 1)
            {
                Console.WriteLine("test.exe C:\\test.pcl");
                Console.WriteLine("test.exe C:\\test.ps");
                return;
            }
            Console.Write("args length is ");
            Console.WriteLine(args.Length); // Write array length
            for (int i = 0; i < args.Length; i++) // Loop through array
            {
                string argument = args[i];
                Console.Write("args index ");
                Console.Write(i); // Write index
                Console.Write(" is [");
                Console.Write(argument); // Write string
                Console.WriteLine("]");
            }
            string fileName = args[0];
            int bIsRenderToPDF = 0;
            int bwPageCount = 0;
            int colorPageCount = 0;
            int copyCount = 0;
            double nPageWidth = 0;
            double nPageHeight = 0;
            string strPaperSizeName = new string(' ', 300);

            FileInfoCOM.FileInfoClass objFileInfoCom = new FileInfoCOM.FileInfoClassClass();

            objFileInfoCom.com_ReadInfoSetCode("XXXXXXXXXXXXXXXXXX");
            objFileInfoCom.com_ReadInfoFromPCLFile(fileName, bIsRenderToPDF, ref bwPageCount, ref colorPageCount, ref copyCount, ref nPageWidth, ref nPageHeight, ref strPaperSizeName);

            Console.WriteLine(String.Format("File: {0}", fileName));
            Console.WriteLine(String.Format("Render To PDF: {0}", bIsRenderToPDF));
            Console.WriteLine(String.Format("BW Pages: {0}", bwPageCount));
            Console.WriteLine(String.Format("Color Pages: {0}", colorPageCount));
            Console.WriteLine(String.Format("Width: {0}", nPageWidth));
            Console.WriteLine(String.Format("Height: {0}", nPageHeight));
            Console.WriteLine(String.Format("Paper name: {0}", strPaperSizeName));
        }
    }
}
-----------------------------------

If you encounter any problem, please feel free to let us know, we will assist you asap.

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)
Posted in PCL, PS, PDF Page Counter | Tagged , , , | Leave a comment

Converting PDF to PCL by PDF to Vector Converter Command Line

PDF (Portable Document Format) is one of the most popular formats used for storing document files which include both text and graphics. As opposed to other formats with a similar function, PDFs can be easily transferred between different applications and different operating systems, and generally don't have a very large size. Moreover, they can offer decent image quality in a compressed format and can be secured with passwords or watermarks.

PCL (Printer Command Language) is a format associated with Hewlett-Packard printers, containing a standardized protocol that facilitates communication between computers and printers. PCL files contain commands related to features such as: drawing tools, font rendering, macros, Unicode symbols, raster areas etc.

image

So, how to change PDF into PCL?

The quick and simple way to handle your files is to get a quality piece of software, such as "PDF to Vector Converter Command Line" software. "PDF to Vector Converter Command Line" will help you avoid spending countless hours trying to figure out how to convert PDFs, you can use this software to convert from PDF files to PCL files easily.

PDF to Vector Converter Command Line can be downloaded from this web page,

http://www.verydoc.com/pdf-to-vector.html
http://www.verydoc.com/pdf2vec_cmd.zip

after you download it, you can run following command line to convert your PDF files to PCL files,

pdf2vec.exe D:\test.pdf D:\out.pcl

pdf2vec.exe -printermargins D:\test.pdf D:\out.pcl

pdf2vec.exe -scalex 90 -scaley 90 -printermargins D:\test.pdf D:\out.pcl

Please notice, you need run a CMD window by administrator privilege, and then run above command line in this CMD window by manual, pdf2vec.exe will install a PCL Printer automatically during conversion, you will also get the output PCL file after a few seconds, everything will be done automatically, just run this one command line is enough.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in PDF to Vector Converter | Tagged , | Leave a comment
Page 10 of 335« First...89101112...203040...Last »