PDF to Vector Converter, PostScript to PDF Converter

Being able to convert eps to svg

I downloaded and tried out your software over the weekend and wasn't able to find a combination of your tools that would do what we need.  If you could shine any light on whether it is possible or not I would greatly appreciate it.

We have created a garment design tool in Flash that uses svg as its storage and display system and we would like users to be able to upload eps files that can be displayed in our design tool.  So we need an image library that allows us to read eps files and save them as svg.  It doesn't look like that is an option from what I could tell from all the demos and documentation that I looked at.
=================================
Thanks for your message, you can by following steps to convert EPS to SVG format,

1. Convert EPS file to PDF file by our Postscript to PDF Converter product first,

https://www.verydoc.com/ps-to-pdf.html

you can run following command line to convert your EPS file to PDF file,

ps2pdf.exe C:\test.eps C:\test.pdf

2. Convert PDF file to SVG format by our PDF to Vector Converter product,

https://www.verydoc.com/pdf-to-vector.html

you can run following command line to convert the PDF file to SVG file,

pdf2vec.exe C:\test.pdf C:\test.svg

we hoping above two steps will assist you to convert from EPS file to SVG file properly.

VeryDOC
=================================
Thanks for the information.  I need to be able to do this on the backend of an ASP.NET C# project, and the dll files for the Vector Converter are only for C and C++.  Are there dlls that can be used from C# that I missed in my sample downloads?
=================================
We are provide Postscript to PDF Converter SDK and PDF to Vector Converter SDK products too, you can download Postscript to PDF Converter SDK and PDF to Vector Converter SDK products from our website, these SDK products can be called from C and C++ languages,

The following is the VC++ source code which can be used to convert from Postscript files and EPS files to PDF files,

~~~~~~~~~~~~~~~~~~~~~~~~~
__declspec(dllexport)
int WINAPI VeryPDF_PSToPDF(LPCTSTR lpCommand);

void main(int argc, char *argv[])
{
    if(argc < 2)
    {
        printf("test.exe C:\\test.ps\n");
        printf("test.exe C:\\test.ps C:\\test.pdf\n");
        return;
    }
    char *lpLicenseKey = "XXXXXXXXXXXXXXXXXX";
    char szCommandLine[2048] = {0};

    //sprintf(szCommandLine,"ps2pdf -mode 2 -$ \"%s\" ",lpLicenseKey);
    sprintf(szCommandLine,"ps2pdf -$ \"%s\" ",lpLicenseKey);
    for(int i = 1; i < argc; i++)
    {
        strcat(szCommandLine, " \"");
        strcat(szCommandLine, argv[i]);
        strcat(szCommandLine, "\"");
    }
    int nRet = 0;
    if(1)
        nRet = VeryPDF_PSToPDF(szCommandLine);
    else
    {
        char *lpszFiles[] = {
            "C:\\Test 2 Page.pdf",
            "C:\\Test 4 Page.pdf",
            "C:\\Test 6 Page.pdf"
        };
        for(i = 0; i < sizeof(lpszFiles)/sizeof(char*); i++)
        {
            sprintf(szCommandLine,"ps2pdf -$ \"%s\" -pdf2ps \"",lpLicenseKey);
            strcat(szCommandLine, lpszFiles[i]);
            strcat(szCommandLine, "\" \"");
            strcat(szCommandLine, lpszFiles[i]);
            strcat(szCommandLine, ".ps\"");
            nRet = VeryPDF_PSToPDF(szCommandLine);
            printf("nRet = %d, %s\n", nRet, szCommandLine);
        }
    }
    printf("nRet = %d\n", nRet);
}
~~~~~~~~~~~~~~~~~~~~~~~~~

You can use following VC++ source code to convert from PDF files to SVG files,
~~~~~~~~~~~~~~~~~~~~~~~~~
__declspec(dllexport)
int WINAPI VeryPDF_PDF2Vector(LPCTSTR lpCommand);
__declspec(dllexport)
int WINAPI VeryPDF_PDF2VectorFromMemory(LPBYTE lpPDFData, int nDataLen, LPCTSTR lpstrOutFile, LPCTSTR lpCommand);

int ConvertPDFToOtherFormatsFromMemory(char *lpInFile, char *lpOutFile)
{
    LPBYTE lpData = NULL;
    int nLength = 0;
    FILE *file = fopen(lpInFile,"rb");
    if(!file)
        return -1001;
    nLength = _filelength(fileno(file));
    if(nLength <= 0)
    {
        fclose(file);
        return -1002;
    }
    lpData = new BYTE[nLength];
    if(lpData == NULL)
        return -1003;
    fread(lpData,1,nLength,file);
    fclose(file);
    int nRet = VeryPDF_PDF2VectorFromMemory(lpData, nLength, lpOutFile, "pdf2vec -swfburst2");
    delete []lpData;

    return nRet;
}
void main(int argc, char **argv)
{
    if(argc < 3)
    {
        printf("%s C:\\in.pdf C:\\out.emf\n", argv[0]);
        printf("%s C:\\in.pdf C:\\out.wmf\n", argv[0]);
        printf("%s C:\\in.pdf C:\\out.pcl\n", argv[0]);
        printf("%s C:\\in.pdf C:\\out.swf\n", argv[0]);
        printf("%s C:\\in.pdf C:\\out.ps\n", argv[0]);
        printf("%s C:\\in.pdf C:\\out.eps\n", argv[0]);
        return;
    }
    char *lpLicenseKey = "XXXXXXXXXXXXXXX";
    char szCommandLine[1024];
    sprintf(szCommandLine,"pdf2vec -$ \"%s\" ",lpLicenseKey);
    for(int i = 1; i < argc; i++)
    {
        strcat(szCommandLine, " \"");
        strcat(szCommandLine, argv[i]);
        strcat(szCommandLine, "\"");
    }
    int nRet = VeryPDF_PDF2Vector(szCommandLine);
    printf("VeryPDF_PDF2Vector, Return value: %d\n", nRet);

    char *lpInFile = argv[argc-2];
    char *lpOutFile = argv[argc-1];
    nRet = ConvertPDFToOtherFormatsFromMemory(lpInFile, lpOutFile);
    printf("VeryPDF_PDF2VectorFromMemory, Return value: %d\n", nRet);
}
~~~~~~~~~~~~~~~~~~~~~~~~~

You can look at entire test project in the download package,

https://www.verydoc.com/pdf2vec_sdk.zip

https://www.verydoc.com/ps2pdfsdk.zip

VeryPDF

PDF to Vector Converter

How to convert PDF file to Windows EMF file?

A kind of software called pdf to vector converter has to be used, if you want to convert PDF file to Windows EMF file. It is a converter which can convert PDF file to many scalable vector graphics formats.

At first, download it from the following websites:

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

Second, extract from this file and a file folder will be gotten. Open it and find the file “pdf2vec.exe” which is what you need.

Third, click on the tag run which will come out after you click on the button start on the taskbar. A dialogue box will be turned up on desktop. Type cmd and click on “OK”.

clip_image007

Fourth, after those steps, a window will be appeared. The first thing you need to do is to change the location using the dos command cd. Specific as follows:

For example, the pdf2vec.exe is located in the folder called pdf2vec_cmd which is on desktop. And now you need to type “cd desktop\pdf2vec_cmd”and press enter.

How to convert PDF file to Windows EMF file? 

And then, the window will show as follows:

How to convert PDF file to Windows EMF file?

Fifth, you need to use pdf2vec.exe to convert the pdf file into a windows emf file. The specific are:  type “pdf2vec.exe D:\test\test.pdf c:\test.emf”, which means to convert test.pdf in the folder test of disc d into a windows emf file. Among this, “c:” means that the object file is located in the disc c and “test.emf” is the filename. The details are:

How to convert PDF file to Windows EMF file?

After those are done, you can go to disc c to check it.

@VeryDOC

How to convert a PDF file to Word document?

Method 1

Step 1: Click the button Add PDF File as marked by the red rectangle as follows:

How to convert a PDF file to Word document?

 

Step 2: Choose a PDF file , and then click the button Open.

How to convert a PDF file to Word document?

If you want to convert more PDF files, please repeat step 1 and 2;

if not, go to  step 3.

 

Step 3: Chose the file, and then click the button Convert.

How to convert a PDF file to Word document?

 

step 4: Name the new file in the added box and click the button Save.

How to convert a PDF file to Word document?

 

Method 2

Step 1: Drag a PDF file to the list box.

How to convert a PDF file to Word document?

 

Step 2: Repeat  step 3 and 4 in the first method.

 

PDF to Vector Converter

How to Use PDF to Vector Converter Product?

PDF to Vector converter is a kind of tool which can convert PDF files to other scalable vector graphics formats like emf, wmf, ps and so on. If this is the first time that you use it, the next can be useful for you.
First, click the menu "start" on desktop.  clip_image002

Second, find the tag "run" and click on it. After that, A dialogue box will be popped out. And then, you need to input three letters cmd and click on the button OK.

How to Use PDF to Vector Converter Product?

How to Use PDF to Vector Converter Product?

Third, you need to use the command “cd” which is used to show you the location of PDF to vector converter in the window named  c:\windows\system32\cmd.exe. These are what you need to know.

clip_image002[4]

For example, the location of PDF to Vector Converter Product is “c:\documents and settings\admin\desktop\pdf2vec_cmd”, but the part which is circled by red line is “c:\documents and settings\admin”. At this time, “cd desktop\pdf2vec_cmd”has to be inputted and press “Enter”. What will be showed is

How to Use PDF to Vector Converter Product?

At last, input this command “pdf2vec.exe D:\test\test.pdf D:\test\test.emf”. This command means that a pdf file test is converted to an emf file called test too . The details are:

How to Use PDF to Vector Converter Product?  How to Use PDF to Vector Converter Product?

There is a simple way to type these letters “D:\test\test.pdf D:\test\test.emf”. Find the file you want to convert, drag it to the window c:\windows\system32\cmd.exe and loose it. Then you get the first location. So does the second.

If you want other format files, “emf” of “D:\test\test.emf” just should be changed into the format you want. After those, you do get what you want.

DOC to Any Converter

xls conversion and improving the tiff conversion look

I am on a short term contract to improve an existing licensed application for Staging Connections and I would like some assistance regarding getting the conversion working better.

a) XLS conversion failing.

I am having a problem with the xls conversion with doc2any.

- When I ask for -useoffice 0  doc2any fails with 'error' when converting a simple XLS file

- When I ask for a -multipagetif it fails with 'error' when converting a simple XLS file.  (with or without useoffice switch)

The same commands work perfectly for .doc files.

In order to work around my problem I am having to convert to PDF  with -useoffice 1 default and then convert to tiff,  (which is the format I need for my project).    Loading office slows down the application and let alone also converting the PDF.

Could you please advise if there is any additional settings that I can use or when a patch will be available.

a)  Look of the tiff format of doc not up to scratch.

The quality of the conversion to tiff is not acceptable to my client.    I need some suggestions to improve the look of the documents.

- The documents are A4 input and they are converted to TIFF to appear in an MDI.    The quality of the conversion is not great.  I have increased the resolution to 600 DPI and this has improved the situation.

- The images are formatted to the left hand side of the page and right at the top (ie without margins).   Is there a way to get the software to respect Document margin settings?

- Is there any suggested settings to make the whole thing look a lot better when converting to Tiff.

Thanks
======================================
Hi,

>>a) XLS conversion failing.

Thanks for your message, our doc2any.exe can read DOC format without MS Office installed, however, it can't read XLS format itself, you need install MS Excel application and use "-useoffice 1" parameter in order to convert XLS and XLSX documents to PDF or TIFF files.

For the DOC format, doc2any.exe can convert it to PDF or TIFF format without use MS Word application.

>>a)  Look of the tiff format of doc not up to scratch.

You can add "-useprinter" parameter to convert MS Excel and Word documents to high quality TIFF files, for example,

Doc2any.exe -useprinter -useoffice 1 -xres 600 -yres 600 C:\test.doc C:\out.tif

Doc2any.exe -useprinter -useoffice 1 -xres 600 -yres 600 C:\test.xls C:\out.tif

We hoping above command lines will work better for you, please run them to try.

VeryDOC
=====================================
My conversion is now running fine.   I am now having a problem with the resolution of the html file.

c:\doc2any\doc2any.exe -multipagetif -log c:\Logfiles\doc2any_prod.log -useoffice 1 -xres 300 -yres 300   "{0}" "{1}"

When given a URL this gives me a 96 DPI image which looks awful. I tried -useoffice 0 and -useoffice 1 and it made no difference.  If I have -useprinter on a url no tiff image is produced at all.

How do I get the resolution up?

Thanks

PS:  your comment about not being able to have '-useoffice 0' on xls files directly conflicts with the command line options,  doc2any displays the following line:

-useoffice 0: Don't use MS Office to convert DOC,DOCX,RTF,TXT,PPT,PPTX,XLS,XLSX formats
======================================
You can add "-useprinter" and "-useoffice 1" options to convert HTML file to high quality TIFF file, for example,

c:\doc2any\doc2any.exe -multipagetif -log c:\Logfiles\doc2any_prod.log -useoffice 1 -useprinter -xres 300 -yres 300   "{0}" "{1}"

VeryDOC
======================================
Also, if you use "-useoffice 0" parameter, doc2any.exe will convert DOC, RTF, TXT, documents to other formats, it will fail on DOCX, PPT, PPTX, XLS and XLSX formats, please understand this matter.

VeryDOC