raster to vector converter

How to convert scanned JPEG and PDF files to vector DWG, DXF and PDF files?

Hello,

I am recently downloaded the trial version of your Raster to Vector Converter. I need to be able to take an old drawing scanned to PDF and import into AutoCAD to make changes. Iv tried playing around with the settings to no use; I am still left with a bubble outline. Is your program able to somewhat accurately convert my PDF into a useable .dwg file? Even if it could import the text successfully that would be great and I would be happy to buy the full version of your program.

Are you able to help me?

Please see the attached screenshots with my dilemma.

Regards,
Customer
-----------------------------------------------

Please find attached a PDF document I wish to convert to a .dwg file.

Any help is greatly appreciated.

image

image

image

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

You may download "VeryDOC Raster to Vector Converter Command Line" product from following web page to try,

https://www.verydoc.com/raster-to-vector-converter-command-line/index.html

you can use "VeryDOC Raster to Vector Converter Command Line" product to convert this PDF file to vector DXF/DWG/PDF files easily, for example,

Raster2Vector.exe D:\downloads\Ground_Floor_Duct_Layout.pdf D:\downloads\Ground_Floor_Duct_Layout_out.dwg

Raster2Vector.exe D:\downloads\Ground_Floor_Duct_Layout.pdf D:\downloads\Ground_Floor_Duct_Layout_out.dxf

Raster2Vector.exe D:\downloads\Ground_Floor_Duct_Layout.pdf D:\downloads\Ground_Floor_Duct_Layout_out.pdf

image

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)
pdf compressor, pdf to pdf/a converter

How to set PDF compression and PDF/A options when converting from TIFF to PDF?

Hello,

We use the PDFShell.dll object to convert from TIF to PDF. How can we set the compression of the resulting PDF using this API. Also how do we create PDFA1A and A1B compliant PDF's? Is there documentation for doing this?

Thank you,
Customer
-------------------------------
Thanks for your message, PDFShell.dll hasn't compression and PDF/A functions yet, however, we suggest you may use following products to achieve your work,

1. You can use PDFShell.dll to convert your TIFF file to PDF file first, like you have done currently,

2. You can use "VeryDOC PDF Compressor Command Line" to compress an existing PDF file with JPEG2000, JBIG2, CCITT G4, DCTDecode etc. compression options, you can also use it to downsample the resolution to embedded images in PDF file,

https://www.verydoc.com/pdfcompressor.html

for example, you can run following command line in CMD window to compress your PDF file, this command line will downsample the resolution to images in your PDF file to 50 DPI,

pdfcompressor.exe -ci jpg -cidown -cidownres 50 -gi jpg -gidown -gidownres 50 -mi fax -midown -midownres 50 C:\in.pdf C:\out.pdf

You can call this command line from your source code to compress the PDF file too.

3. You can use "VeryDOC PDF to PDF/A Converter Command Line" to convert normal PDF files to PDF/A files, "VeryDOC PDF to PDF/A Converter Command Line" can be downloaded from following web page,

https://www.verydoc.com/pdf-to-pdfa.html
https://www.verydoc.com/blog/verydoc-releases-new-version-of-pdf-to-pdfa-converter-command-line-product-today.html

You can run following command line to convert your normal PDF files to PDF/A files easily,

pdf2pdfa.exe -mode 2 "sample1.pdf" "_sample1-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample2.pdf" "_sample2-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample3.pdf" "_sample3-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample4.pdf" "_sample4-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample5.pdf" "_sample5-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample6.pdf" "_sample6-pdfa.pdf"
pdf2pdfa.exe -mode 2 "sample7.pdf" "_sample7-pdfa.pdf"

You can also call pdf2pdfa.exe from your source code to convert normal PDF files to PDF/A files, this can be done easily.

If you have any question for above products, please feel free to let us know, we are glad to assist you asap.

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)
html to image converter

Use html2image to convert HTML file to Fax ready TIFF file

I have download and test html2image, for use in the fax business.

html2image may fulfill my goals except that some functionalities are either missing or does not seem to work correctly.

I would like to have a Black&White output, is it possible?

I wonder if there are limitation in the trail version, I want to have a 200x200 dpi resolution output. I always end up with a 96x96 resolution.

Here are 2 commands I was using, with the same result:

html2image.exe -xdpi=200 -ydpi=200 -url=D:\html2image\Brooktrout.htm
-out=D:\html2image\Brooktrout-200x200.tif

html2image.exe -url=D:\html2image\Brooktrout.htm
-out=D:\html2image\Brooktrout-200x200.tif -xdpi=200 -ydpi=200

I also tried:

html2image.exe -url=D:\html2image\Brooktrout.htm
-out=D:\html2image\Brooktrout-200x200.tif -dpi=200

same result.

If it may help, I attach the html source file and the result of the conversion to this e-mail.

If html2image meets our needs, we may think on buying the "HTML to Image Converter Command Line source code".

Best regards,
Customer
--------------------------------------------

You can add "-highquality" parameter to try again, for example,

html2image.exe -url=D:\downloads\Brooktrout.htm -out=D:\downloads\Brooktrout.png -highquality -xdpi=200 -ydpi=200 -width=2000

You will get a better image file with "-highquality" parameter, please to try.

VeryDOC

--------------------------------------------

also, html2image can't create the Black&White output TIFF file, but you can use an Image Library to convert color image file to Black and white TIFF file.

We have another option to allow you to convert HTML file to Fax TIFF file, for example, you can use our "HTML Converter Command Line" or "docPrint Pro" to convert HTML file to PDF file first, and use "VeryPDF PDF to Image Converter Command Line" to convert PDF file to Fax ready TIFF file again, "VeryPDF PDF to Image Converter Command Line" does a good job to convert PDF file to Fax ready TIFF file,

http://www.verypdf.com/wordpress/201312/convert-pdf-file-to-fax-tiff-file-by-special-options-40065.html

http://www.verypdf.com/wordpress/201107/dither-function-when-convert-color-pdf-page-to-black-and-white-tiff-file-1425.html

http://www.verypdf.com/wordpress/201107/pdf-to-image-converter-quality-of-generated-tiff-images-1616.html

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)
pcl, ps, pdf page counter

64bit version of Spool File Page Counter SDK. How to call Spool File Page Counter SDK from 64bit application?

Q: Is it possible to get a set of binaries compiled for x64 platform?

A: Page Counter SDK contains a FileInfoCOM.exe file, this is a COM interface, it can be called from both 32bit and 64bit EXE processes, you can run following command line with Administrator privilege to register this COM into your system,

FileInfoCOM.exe /regserver

image

you can call it from your VB6 code like below.

strFileName = varPathCurrent & "\test_tiger.eps"

 

Set FileInfoCom = CreateObject("FileInfoCOM.FileInfoClass")

FileInfoCom.com_ReadInfoSetCode ("XXXXXXXXXXXXXXXXXXX")

nRet = FileInfoCom.com_ReadInfoFromPSFile(strFileName, bIsRenderToPDF, bwPageCount, colorPageCount, copyCount, nPageWidth, nPageHeight, strPaperSizeName)

 

strMsg = strMsg + "FileName = " + strFileName + vbCrLf

strMsg = strMsg + "bIsRenderToPDF = " + CStr(bIsRenderToPDF) + vbCrLf

strMsg = strMsg + "bwPageCount = " + CStr(bwPageCount) + vbCrLf

strMsg = strMsg + "colorPageCount = " + CStr(colorPageCount) + vbCrLf

strMsg = strMsg + "copyCount = " + CStr(copyCount) + vbCrLf

strMsg = strMsg + "PageWidth = " + CStr(nPageWidth) + vbCrLf

strMsg = strMsg + "PageHeight = " + CStr(nPageHeight) + vbCrLf

strMsg = strMsg + "PaperSizeName = " + CStr(strPaperSizeName) + vbCrLf

MsgBox strMsg

 

This is the C# example which can be compiled with "AnyCPU" mode,

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));

        }

    }

}

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

Can doc2any be used in a non-interactive session?

We invoke doc2any from a VBScript on the server. When we manually run the script on the server (using a remote desktop session) then everything works as expected.

However, when we use task scheduler to trigger the script on a periodic basis then we run into trouble.

If the scheduled task is run as user SYSTEM, then doc2any is unable to invoke Microsoft Word and instead falls back on a very default PDF conversion. The resultant PDF is not acceptable as it is a ‘plain text’ conversion and many elements from the Word document are missing.

If the scheduled task is run as any other user, then that user must have a remote desktop session open to produce a correct PDF. If the user logs out, then doc2any falls back on the plain text conversion.

I have also tried starting doc2any_service\docPrint_Service.exe. This method works until the user who started docPrint_Service logs out. Then doc2any is again unable to find Word and falls back on plain text conversion.

The question is: Is there any way that doc2any can be used on the server without having a remote desktop session open? I.e. in a ‘non interactive’ session, run as user SYSTEM.

Many thanks
Customer
-------------------------------------------------
Microsoft expand on the issues here:

http://support.microsoft.com/kb/257757

Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

Customer
-------------------------------------------------
>>Can doc2any be used in a non-interactive session?

Yes, doc2any can be used in an non-interactive session, but you need set MS Word DCOM run inside an interactive user account, please refer to following web pages for more information,

http://www.verypdf.com/wordpress/201109/doc2any-sdk-dll-does-work-on-localhost-but-not-work-on-internet-2333.html
https://www.verydoc.com/blog/how-to-call-doc2any-exe-from-asp-code.html
https://www.verydoc.com/blog/running-doc2any-as-a-scheduled-task.html
https://www.verydoc.com/others/configure-word-and-excel.htm
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-c-or-vb-net-source-code.html
https://www.verydoc.com/blog/cannot-test-doc2any-on-net.html
https://www.verydoc.com/blog/failed-to-call-doc2any-exe-from-java-application-to-convert-pptx-and-docx-files-to-pdf-files.html
https://www.verydoc.com/blog/run-doc2any-on-windows-2003-or-windows-2008-system.html

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)