We are looking for a fully functional API from you to VIEW most of the commonly used files online/offline in the original format

Hi there!

I have come to your website through google. And I think you can help me
fairly.

We are developing a Document Management Software through which one can
upload any files to the server and view it (online/off-line).

We are looking for a fully functional API from you to VIEW most of the
commonly used files online/offline in the original format. If you can give
me an API for the above purpose, kindly quote your rate for the API.

We are developing the application using PHP.

Your quick response will be highly appreciated.

Regards,
Customer
-------------------------------------
Thanks for your message,

For the online solution, you can use "Online Document Viewer" to view your documents, you an integrate "Online Document Viewer" into your website to view documents online,

http://www.verypdf.com/online/free-view-document-online.php

The "Online Document Viewer" is written in PHP and Javascript languages, you can integrate it into your website easily.

For the offline solution, you can use "PDF Viewer OCX Control" software,

http://www.verydoc.com/pdf-viewer-ocx.html
http://www.verydoc.com/pdfviewerocx.zip

The current version of "PDF Viewer OCX Control" is can only be used to view PDF files offline, however, we can integrate "DOC to Any Converter SDK/COM Version" into the "PDF Viewer OCX Control" software for you, then you can view PDF, DOC, DOCX, DOCM, RTF, TXT, PPT, PPTX, XLS, XLSX, OpenOffice ODT, HTML, MHTML files offline easily, please refer to more information about "DOC to Any Converter SDK/COM Version" from following web page,

http://www.verydoc.com/doc-to-any.html
http://www.verydoc.com/doc2any_cmd.zip

You may also refer to following web pages for more information about "Online Document Viewer" application,

VeryPDF HTML5 PDF Viewer Toolbar Options,
http://www.verypdf.com/wordpress/201310/verypdf-html5-pdf-viewer-toolbar-options-39121.html

VeryPDF Docs Viewer (Free PDF Viewer Online) Toolbar Options, Show or hide buttons on toolbar,
http://www.verypdf.com/wordpress/201311/verypdf-docs-viewer-free-pdf-viewer-online-toolbar-options-show-or-hide-buttons-on-toolbar-39329.html

Compare Google Docs Viewer and VeryPDF Document Viewer embedded Document Viewers,
http://www.verypdf.com/wordpress/201310/compare-google-docs-viewer-and-verypdf-document-viewer-embedded-document-viewers-39162.html

VeryPDF Document Reader & VeryPDF Document Viewer,
http://www.verypdf.com/wordpress/201607/verypdf-document-reader-verypdf-document-viewer-42775.html

How to use VeryPDF Online PDF Viewer to view my PDF files? I want hide Print, Download, Save As, etc. buttons in PDF Viewer Toolbar,
http://www.verypdf.com/wordpress/201405/how-to-use-verypdf-online-pdf-viewer-to-view-my-pdf-files-i-want-hide-print-download-save-as-etc-buttons-in-pdf-viewer-toolbar-40482.html

How to embed PDF in website and control view toolbar options?
http://www.verypdf.com/wordpress/201310/how-to-embed-pdf-in-website-and-control-view-toolbar-options-39138.html

How to hide or delete print and download options from Online Document Reader (Online PDF Viewer)?
http://www.verypdf.com/wordpress/201510/how-to-hide-or-delete-print-and-download-options-from-online-document-reader-online-pdf-viewer-41924.html

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 PDF Viewer OCX, VeryPDF Cloud API, VeryPDF SDK & COM | Tagged , , | Leave a comment

We are evaluating your software in order to convert a gray scale pdf image to mono G4 tiff

We are evaluating your software in order to convert a gray scale pdf image to mono G4 tiff.
I tried the command line:

pdf2img -r 300 - compress 4 -mono -multipage Infile Outfile

The original file is 12 pages gray scale. The process takes 5-7 seconds on a 16 core server. The main issue is that the resulting tif has an unacceptable level of dithering.

Do you have any suggestions?
Customer
---------------------------------------
Please use -threshold option to try again, for example,

pdf2img.exe -r 300 -threshold 180 -multipage test3.pdf _pdf2bw_threshold.tif
pdf2img.exe -r 300 -threshold 180 test3.pdf _pdf2bw_out.png

This is original PDF file,

image

The following image was created by following command line,

pdf2img.exe -r 300 -mono test3.pdf _pdf2bw_mono.png

image

The following image was created by following command line, the resultant TIFF file is a multi-page TIFF file,

pdf2img.exe -r 300 -threshold 180 -multipage test3.pdf _pdf2bw_threshold.tif

image

The following image was created by following command line,

pdf2img.exe -r 300 -threshold 180 test3.pdf _pdf2bw_out.png

image

If you still have same problem, please send to us your sample PDF file, we will check your PDF file and figure out a best command line to 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 PDF to Image Converter | Tagged | Leave a comment

How to compress color images, grayscale images and monochrome images in PDF files?

Hello,

Our company is interested in purchasing an API that would allow us to create executable letting us compress PDF images. When I investigated the APIs offered, I didn't notice this option, but we do like your PDF compressor for our purposes, so I'm hoping there's something I missed.

Customer
------------------------------------------------
Thanks for your message, yes, we have PDF Compressor SDK product, you can download and purchase it from following web page,

http://www.verydoc.com/pdfcompressor.html
http://www.verydoc.com/dl2.php/pdfcompressor_sdk.zip

You can run "install.vbs" to install PDFCompressCom.exe into your system first, then you can use following C# code to compress PDF files easily,

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 + "\\sample\\test-color-image.pdf";

            string strOutFile = appPath + "\\sample\\test-color-image_out.pdf";

            string strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";

 

            string strCmd = "-ci jpx -cidown -cidownres 150 -gi jpx -gidown
                      -gidownres 150 -mi jbig2 -midown -midownres 150 "

                      + strLicenseKey +
" \"" + strPDFFile + "\" \""
                      + strOutFile +
"\"";

 

            System.Type VeryPDFType = System.Type.GetTypeFromProgID
                      (
"VeryPDF.PDFCompressCom");

            VeryPDF.PDFCompressCom VeryPDFCom = (VeryPDF.PDFCompressCom)
                      System.
Activator.CreateInstance(VeryPDFType);

            string strReturn = VeryPDFCom.PDFCompressor(strCmd);

            MessageBox.Show(strReturn);

        }

    }

}

 

Or you can use following VB.NET source code to compress image files in PDF file,

 

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 + "\\sample\\test-color-image.pdf";

            string strOutFile = appPath + "\\sample\\test-color-image_out.pdf";

            string strLicenseKey = "-$ XXXX-XXXX-XXXX-XXXX";

 

            string strCmd = "-ci jpx -cidown -cidownres 150 -gi jpx -gidown
                   -gidownres 150 -mi jbig2 -midown -midownres 150 "

                   + strLicenseKey +
" \"" + strPDFFile + "\" \"" + strOutFile
                   +
"\"";

 

            System.Type VeryPDFType = System.Type.GetTypeFromProgID
                   (
"VeryPDF.PDFCompressCom");

            VeryPDF.PDFCompressCom VeryPDFCom = (VeryPDF.PDFCompressCom)
                   System.
Activator.CreateInstance(VeryPDFType);

            string strReturn = VeryPDFCom.PDFCompressor(strCmd);

            MessageBox.Show(strReturn);

        }

    }

}

 

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 Compressor | Tagged | Leave a comment

VC++ source code for EMF to Text Converter, Text Extraction from EMF and PDF formats

#include <windows.h>

#include <stdio.h>

#include <string>

using namespace std;

 

typedef BOOL  (__stdcall *EMF2TXTFunc)(LPCTSTR lpEMFFile, LPCTSTR lpTextFile, BOOL bAppend);

typedef BOOL  (__stdcall *PDF2TXTFunc)(LPCTSTR lpPDFFile, LPCTSTR lpTextFile);

typedef BOOL  (__stdcall *EMF2TXTWFunc)(LPCWSTR lpEMFFile, LPCWSTR lpTextFile, BOOL bAppend);

typedef BOOL  (__stdcall *PDF2TXTWFunc)(LPCWSTR lpPDFFile, LPCWSTR lpTextFile);

 

EMF2TXTFunc      VeryPDF_EMF2TXT = NULL;

PDF2TXTFunc      VeryPDF_PDF2TXT = NULL;

EMF2TXTWFunc     VeryPDF_EMF2TXTW = NULL;

PDF2TXTWFunc     VeryPDF_PDF2TXTW = NULL;

 

void GetModulePath(char *out_path,char *in_name)

{

      char *p;

      GetModuleFileName(NULL,out_path,256);

      p =strrchr(out_path,'\\');

      p[1]=0;

      strcat(out_path,in_name);

}

 

string GetFullPath(char *in_name)

{

      char szFileName[2000] = {0};

      GetModuleFileName(NULL,szFileName,sizeof(szFileName));

      char *p = strrchr(szFileName, '\\');

      if(p)

           p[1] = 0;

      strcat(szFileName, in_name);

      return szFileName;

}

 

wstring GetFullPath(wchar_t *in_name)

{

      wchar_t wszFileName[2000] = {0};

      GetModuleFileNameW(NULL, wszFileName, sizeof(wszFileName));

      wchar_t *p = wcsrchr(wszFileName, '\\');

      if(p)

           p[1] = 0;

      wcscat(wszFileName, in_name);

      return wszFileName;

}

 

HMODULE LoadDLLLibrary()

{

      BOOL bRet = FALSE;

      char szLibPath[_MAX_PATH];

#if _WIN64

      GetModulePath(szLibPath, "txtsdk64.dll");

#else

      GetModulePath(szLibPath, "txtsdk32.dll");

#endif

      HMODULE dll_handle = LoadLibrary(szLibPath);

      if(dll_handle == NULL)

           return FALSE;

      VeryPDF_EMF2TXT = (EMF2TXTFunc)GetProcAddress(dll_handle, "EMF2TXT");

      if(VeryPDF_EMF2TXT == NULL)

           goto _failed;

      VeryPDF_PDF2TXT = (PDF2TXTFunc)GetProcAddress(dll_handle, "PDF2TXT");

      if(VeryPDF_PDF2TXT == NULL)

           goto _failed;

      VeryPDF_EMF2TXTW = (EMF2TXTWFunc)GetProcAddress(dll_handle, "EMF2TXTW");

      if(VeryPDF_EMF2TXTW == NULL)

           goto _failed;

      VeryPDF_PDF2TXTW = (PDF2TXTWFunc)GetProcAddress(dll_handle, "PDF2TXTW");

      if(VeryPDF_PDF2TXTW == NULL)

           goto _failed;

 

      return dll_handle;

_failed:

      FreeLibrary(dll_handle);

      return NULL;

}

 

int main(int argc, char* argv[])

{

      HMODULE dll_handle = LoadDLLLibrary();

      if(dll_handle == NULL)

           return 0;

 

      VeryPDF_EMF2TXT(GetFullPath("14214580-0001.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0002.emf").c_str(),          

           GetFullPath("emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0003.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0004.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0005.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0006.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0007.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0008.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0009.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

      VeryPDF_EMF2TXT(GetFullPath("14214580-0010.emf").c_str(),
           GetFullPath(
"emf2txt.txt").c_str(), TRUE);

 

      VeryPDF_PDF2TXT(GetFullPath("testreport.pdf").c_str(),
           GetFullPath(
"pdf2txt.txt").c_str());

 

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0001.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0002.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0003.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0004.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0005.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0006.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0007.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0008.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0009.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

      VeryPDF_EMF2TXTW(GetFullPath(L"14214580-0010.emf").c_str(),
           GetFullPath(L
"emf2txtW.txt").c_str(), TRUE);

     

      VeryPDF_PDF2TXTW(GetFullPath(L"testreport.pdf").c_str(),
           GetFullPath(L
"pdf2txtW.txt").c_str());

 

      FreeLibrary(dll_handle);

      return 0;

}

 

This is original EMF file,

image

 

The converted text file,image

 

Please feel free contact to VeryPDF if you wish to evaluate this EMF to Text Converter SDK,

 

http://support.verypdf.com/open.php

 

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 VeryPDF SDK & COM | Tagged , | Leave a comment

Text Extraction SDK (Extract ASCII text from PDF, Postscript, EPS, WMF, EMF), Extracting EMF file from SPL file format, Extract text from .emf spool file format

Extracting EMF file from SPL file format
------------------------------------------------------
Hi,

Is there a way to extract the EMF data portion from a .SPL file? From one of the customer site, we have received .SPL file for the particular issue which is failed. I found few viewers via google, but using them I was not able to extract the .EMF data from the .SPL file.

Any suggestion would be really appreciated.

Thanks and warm regards,
Customer
------------------------------------------------------
Hi,

I found out the solution.

You can see this link for details and it triggered my thoughts.

http://msdn.microsoft.com/en-us/library/cc230699.aspx

Here, EMF data starts with "EMF", which is nothing but the indication of beginning of the EMF data for your page. In a .SPL file, there can be many same tags. This indicates that you have multiple pages in it.

As per the above link, before "EMF" we can see 41 bytes are available. I have kept them and removed other data before the first EMF occurrence. And it worked.

Warm Regards,
Customer
------------------------------------------------------
How to extract text from .emf spool file?

Hi, I have an .emf spool file and I want to extract the data (text, images etc).
But how?

I know I have to use EMR_EXTTEXTOUTW or EMR_EXTTEXTOUTA, but I don't know how to use it..

Any help?
Customer
------------------------------------------------------
Text Extraction SDK (Extract ASCII text from PDF, Postscript, EPS, WMF, EMF)

The Text Extraction SDK harnesses the power of its proven engine to extract or strip text from PDF, PostScript and Windows Metafiles (WMF / EMF) files. This highly-flexible DLL or command-line interface generates ASCII text with placement, stripped ASCII text or an ASCII preview, a summary of the first few lines of the file. It can be used to feed web sites, indexing programs and content management systems. The intelligent configuration options offer extensive control over the resulting conversion using a .ini file. Entire files can be converted as easily as a range of pages or a single page. The  SDK requires just two calls to automate the conversion. Developers intending to distribute applications commercially, or to subscribers over the Internet, must purchase the appropriate CPU or Server License. It is easily integrated via a DLL or the command line, enabling its use in virtually any programming environment including Visual Basic, C/C++, Paradox, Delphi, ASP, .NET and more. It is licensed per application or project and includes 500 end-user runtimes or the right to run the resulting process on up to eight limited production servers each supporting conversion of up to 10,000 files per year. For redistribution beyond these limits, additional End-User Runtime Licenses are available. Lite and Unlimited Production Server licenses are also available.
------------------------------------------------------

VeryPDF Metafile, EMF, WMF, Postscript related software,

1. Convert EMF/WMF to PDF using HTML Converter Command Line or EMF to Vector Converter or Metafile to PDF Converter,

HTML Converter Command Line,
http://www.verypdf.com/app/html-converter/try-and-buy.html
http://www.verypdf.com/htmltools/htmltools.zip
http://www.verypdf.com/wordpress/201305/convert-hebrew-emf-files-to-pdf-files-dll-library-36610.html

EMF to Vector Converter,
http://www.verydoc.com/emf-converter.html

Metafile to PDF Converter,
http://www.verydoc.com/emf-to-pdf.html

2. Create EMF/WMF from any printable applications using mini EMF Printer Driver or docPrint or docPrint Pro,

mini EMF Printer Driver,
http://www.verypdf.com/app/mini-emf-printer-driver/index.html

docPrint or docPrint Pro,
http://www.verypdf.com/app/document-converter/try-and-buy.html

3. Convert Postscript to PDF or Postscript to Text files,

Postscript to PDF Converter,
http://www.verydoc.com/ps-to-pdf.html

Postscript to Text Converter,
http://www.verydoc.com/ps-to-text.html

4. Extract from EMF/WMF, PDF, Postscript, EPS formats,

Postscript to Text Converter,
http://www.verydoc.com/ps-to-text.html

PDF to Text OCR Converter Command Line,
http://www.verypdf.com/app/pdf-to-text-ocr-converter/try-and-buy.html

EMF/WMF to Text Converter,
Please contact VeryPDF to request a demo version of EMF/WMF to Text Converter,
http://support.verypdf.com/open.php

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 docPrint Pro, HTML Converter (htmltools), PDF to Text Converter, PDF to Text OCR Command Line | Tagged , , , , , , , | Leave a comment
Page 1 of 1,36412345...102030...Last »