I want to use Flash to Image Converter Command Line to batch convert from SWF files to PNG image files

Hello,

I'm interested to buy a version but I don't know which one is the best for me.

I would like to have a version like your CMD version with a batch to convert swf to png. I would like to choose the resolution like in the free trial of the CMD version. With your GUI version we can't choose the resolution. I don't need to use this on a server, it's just to convert swf to png sometimes.

Thank you for the answer.
Customer
----------------------------------------------
Thanks for your message, you may download and purchase "Flash to Image Converter Command Line" from following web page to try, we hope this product will useful to you,

http://www.verypdf.com/app/flash-to-image-cmd/index.html
http://www.verypdf.com/flash-to-image/try-and-buy.html#cmd
http://www.verypdf.com/dl.php?file=swftoimage_cmd.zip

You can use "-res" option to set a DPI for SWF to image conversion,

-res <int> : Scale width and height to a specific DPI resolution, assuming input is 1px per pt (default: 72)

for example,

swf2img2.exe -res 150 C:\in.swf C:\out.png

The following is the full command line options for swf2img2.exe application,

Product Name: VeryPDF Flash to Image Converter Command Line
Product Web Page: http://www.verypdf.com/app/flash-to-image-cmd/
Release Date: Sep  2 2014
Web: http://www.verypdf.com
Web: http://www.verydoc.com
Support: http://support.verypdf.com
Description: Batch convert Flash SWF files to Image files from command line.
Usage: swf2img2 [options] <in-file> [<out-file>]
  -width <int>    : Scale output to specific width (proportional unless height specified)
  -height <int>   : Scale output to specific height (proportional unless width specified)
  -res <int>      : Scale width and height to a specific DPI resolution, assuming input is 1px per pt (default: 72)
  -engine <int>   : Set Render Engine, the current version is support 3 different render engines, 0, 1, 2, default is 0
  -pages <string> : Render pages in specified range e.g. 9 or 1-20 or 1,4-6,9-11 (default: all pages)
  -skip           : Skip existing output files, don't overwrite it
  -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:
   swf2img2.exe C:\in.swf C:\out.png
   swf2img2.exe C:\*.swf C:\*.png
   swf2img2.exe -width 100 C:\in.swf C:\out.png
   swf2img2.exe -height 100 C:\in.swf C:\out.png
   swf2img2.exe -width 100 -height 100 C:\in.swf C:\out.png
   swf2img2.exe -res 150 C:\in.swf C:\out.png
   swf2img2.exe -engine 0 C:\in.swf C:\out.png
   swf2img2.exe -engine 1 C:\in.swf C:\out.png
   swf2img2.exe -engine 2 C:\in.swf C:\out.png
   swf2img2.exe -pages 1-20 C:\in.swf C:\out.png
   swf2img2.exe -pages 1,4-6,9-11 C:\in.swf C:\out.png

The following is the full command line options for swf2img.exe application,

Web: http://www.verydoc.com
Email: support@verydoc.com

SWF to Image Converter Command Line examples:

swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.png"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png" -width 800 -height 600
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png" -width -1 -height -1
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png" -timer 1000
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png" -hidewindow
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test-%04d.png" -$ XXXXXXXXXXXXXXXXXX
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.gif"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.tif"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.pcx"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.bmp"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.jpg"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.tga"
swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.mng"

VeryPDF

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in Flash to Animated GIF Converter | Tagged , , , , , | Leave a comment

How to use docPrint SDK (DocPrintComExe.docPrint COM) from C# source code?

Hi,

doc2img.dll is included in Document Printer SDK (docPrint SDK), I have downloaded it from following URL,

http://www.verypdf.com/artprint/docPrint-sdk.zip

after I download and call it from my C# source code convert from Office to PDF files, I'm get following error message,

DOCPRINTCOMLib is missing in sample code.

image

Please let us know if some exe or sdk also needs to be installed.

Customer
---------------------------------------------------
We apologize for any inconvenience this may have caused to you. You can download and install docPrint Pro from following web page first,

http://www.verypdf.com/app/document-converter/try-and-buy.html#buy_pro
http://www.verypdf.com/artprint/docprint_pro_setup.exe

after you install it, you can add a reference to following COM from your "Microsoft Visual Studio 2010" first,

"C:\Program Files (x86)\docPrint Pro v6.0\docPrintCom.exe"

after that, you can call "DocPrintComExe.docPrint" from your C# code to convert from office files to PDF files easily, please refer to following sample C# source code,

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

using System.IO;

 

namespace CSharp_WindowsFormsApplication

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

 

        private void button1_Click(object sender, EventArgs e)

        {

            string appPath = Path.GetDirectoryName(Application.ExecutablePath);

            string strInFile = "http://www.verypdf.com";

            string strOutFile = appPath + "\\_test_out.pdf";

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

 

            string strCmd = "-* " + strLicenseKey;
                   strCmd +=
" -s \"htmlheader=VeryPDF Page Header\"";
                   strCmd += " -s \"htmlfooter=VeryPDF Page Footer\"";
                   strCmd += " -s PrintHTMLBackground=1"
                   strCmd += " -i \""
+ strInFile + "\"";
                   strCmd +=
" -o \"" + strOutFile + "\"";

 

            System.Type VeryPDFType = System.Type.GetTypeFromProgID
                 (
"DocPrintComExe.docPrint");

            docPrintComExe.docPrint VeryPDFCom = (docPrintComExe.docPrint)
                 System.
Activator.CreateInstance(VeryPDFType);

            int nRet = VeryPDFCom.docPrintCOM_Register(strLicenseKey,
                
"VeryPDF.com Company");

 

            MessageBox.Show(strCmd);

            nRet = VeryPDFCom.RunCmd(strCmd, true);

            MessageBox.Show("Conversion finished.");

        }

    }

}

 

VeryPDF

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in docPrint Pro | Tagged , , | Leave a comment

How to use VeryPDF Cloud API from WordPress?

I wanna use your Cloud API and I would like to talk with someone.

Is it possible?

Do you have a plugin for WordPress?

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

image
Thanks for your message, if you wish to use VeryPDF Cloud API, you can subscribe it from following web page directly,

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

After you subscribe it, you can get your APIKEY by following steps,

Step 1: Register an account on registration page (http://online.verypdf.com/wp-login.php?action=register ),
Step 2: Get an APIKEY on http://online.verypdf.com/wp-admin/accountinfo.php page,

We haven't a plugin for WordPress yet, however, you can call VeryPDF Cloud API from PHP cod easily, you can integrate it into your WordPress website easily too, please refer to simple PHP code at below,

<?php
//The Code
/* gets the data from a URL */
function get_data($url)
{
    $ch = curl_init();
    $timeout = 5;
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}

//The Usage
$returned_content = get_data(
'http://online.verypdf.com/api/?
apikey=XXXX-XXXX-XXXX-XXXX
&app=html2image
&infile=http://www.verypdf.com
&outfile=verypdf.jpg
');
echo $returned_content;
?>

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 VeryPDF Cloud API | Tagged | Leave a comment

How to getting PDF to Image Converter SDK C++ to work?

Hi support,

I downloaded the software from http://www.verypdf.com/pdf2tif/pdf2image_sdk_trial.zip

I plan to integrate this PDF to Image Converter SDK C++ source code, however, I have found there is no detail document here either. Could you let me know what are the necessary library that I need to include for use the C++ SDK for 64bit OS? I only found the instruction for ASP user. I plan to get this going and test it so that I can make decision of purchasing in early next week. Please let me know.

Thanks,
Customer
------------------------------------------------------
Thanks for your message, you may call PDF2ImageCOM.exe from 64bit C++ code, please look at following web pages for more information,

http://www.verypdf.com/wordpress/201107/call-pdf-to-image-converter-com-component-v2-0-from-64bit-application-1191.html

The latest version of PDF2Image SDK contains a PDF2ImageCOM.exe file, this is the COM interface, this COM interface can be called from both 32bit and 64bit applications.

Please put PDF2ImageCOM.exe and pdf2image.dll, cimage.dll files into same folder, launch a CMD window by administrator privilege, run following command line to register it,

PDF2ImageCOM.exe /regserver

After you registered it, you can call asp_PDFToImageConverter() function from 32bit or 64bit code to convert PDF files to image files, please refer to following VBS code,

~~~~~~~~~~~~~~~~~
'please run "64bit-com-install.bat" to register PDF2ImageCOM.exe first
Set pdfcom = CreateObject("PDF2Image.CPDF2Image")
pdfcom.asp_PDFToImageSetCode("XXXXXXXXXXXXXXXXXXXX")
pdfcom.asp_PDFToImageSetFileNameSuffix("")
nRet = pdfcom.asp_PDFToImageConverter("C:\\1.pdf", "C:\\1.jpg", "", "", 200, 200, 24, 32773, 85, 0, 0, 1, 1)
~~~~~~~~~~~~~~~~~

You can also refer to the test steps at below,

* You can download the latest version of PDF2Image SDK from following URL,

http://www.globalpdf.com/pdf2tif/pdf2image_sdk_trial.zip

latest version of PDF2Image SDK does contain the 64bit COM interface, you can use it by following steps,

1. Run "64bit-com-install.bat" or following command line to install PDF2ImageCOM.exe into your system, you need run it by administrator privilege,

PDF2ImageCOM.exe /regserver

2. You can use following 64bit code to test its capability,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dim oTest, nPageCount, nPageWidth, nPageHeight
Set oTest = CreateObject("PDF2Image.CPDF2Image")
strInputFileName = "C:\test.pdf"
oTest.asp_PDFToImageSetCode("XXXXXXXXXXXXXXXXXXXXXX")
nPageCount = oTest.asp_PDFToImageGetPageCount(strInputFileName)
nPageWidth = oTest.asp_PDFToImageGetPageWidth(strInputFileName, 1)
nPageHeight = oTest.asp_PDFToImageGetPageHeight(strInputFileName, 1)
'Converter PDF file to TIFF file by DPI information
oTest.asp_PDFToImageConverter strInputFileName, "C:\example1_tiffpack.tiff", "", "", 300, 300, 24, 32773, 70, 0, 1, -1, -1
oTest.asp_PDFToImageConverter strInputFileName, "C:\example1.emf", "", "", 300, 300, 24, 32773, 70, 0, 1, -1, -1
'Converter PDF file to TIFF file by page size information
oTest.asp_PDFToImageConverterEx strInputFileName, "C:\example1_tiffpack_page_size.tiff", "", "", 1, nPageWidth, nPageHeight, 24, 32773, 70, 0, 1, -1, -1

MsgBox "Convert Success!"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For the C++ code, you can add a reference to PDF2ImageCOM.exe, then you can call it from 64bit source code easily, if you can't get it work, please feel free to let us know, we will prepare an example for you asap.

VeryPDF
------------------------------------------------------
Hi there,

I am mainly looking for C++ example. I have looked at the folders from

http://www.verypdf.com/pdf2tif/pdf2image_sdk_trial.zip

There are VC, VC2, VC3, VC4...etc. and I have tried to use the code and build a stand alone project but didn't get any output.

There are instructions for vbs code which I don't know whether they are needed for C++ but I did that anyways.

Would you please send me a very simple VS C++ project code that demonstrate a simple task: counting the number of page of a input pdf file and outputting the pages into separated image files.

Thanks,
Customer
------------------------------------------------------
Hi support,

Please ignore my stupid question in my previous email. I simply did not realized there is a dsp file in the VC folder. It was default to be opened from notepad. Therefore, I didn't quite understand what should I do with it.
I should be fine for now.

Thanks,
Customer
------------------------------------------------------
Everything works great! I wonder if all the features are available with unlicensed version (so that we can evaluate the quality and capability better) and if there is any detail documentation about all the parameter settings that I can use for the pdf to image conversion, i.e. compress type, quality, the range of resolution value, quality...etc.

Also, what is the PDFToImageSetCode refers to in the C++ project code.

Thanks,
Customer
------------------------------------------------------
Thanks for your message, please look at the "PDF to Image Converter COM component user manual" from following web page,

http://www.verypdf.com/pdf2tif/pdf-to-image-sdk.htm

Yes, the unlicensed version is contain all functions except for the demo watermark, after you purchase it, please pass your license key to PDF2Image SDK, the demo watermark will be removed from generated image files.

Please set your license key to PDFToImageSetCode() function, you will able to register PDF2Image SDK successful,

void __stdcall PDFToImageSetCode(const char *lpRegcode)
Description:
Register your PDF2Image SDK by the given Registration Key.

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

Convert MHTML (mht) files to PDF files from command line

Hi,

Very pdf is great product for mht to pdf conversion.i am using the trial version of verypdf (htmltools). My target is to convert mht file to pdf file from c# code. Initially i tried using command line. In command line it is taking 500 as default height for pdf page. So some of the data in my mht file distracted. I have tried by setting bheight, then for my page with 1000 height it is working fine. But my file size may vary. When i tried with a web page it is adjusting it's size automatically. But from mht file not.

Then I tried with sdk, in SDk when i tried with Web page it is working fine. But by using mht file. It is throwing error. It is prefixing http to file name and throwing error.

Please let me know the possible solution for these two.

Thanks in Advance,

Thanks & Regards,
Customer
------------------------------------------------------

image
We suggest you may increase the value of "-bwidth" to try again, for example,

htmltools.exe -bwidth 1280 -bheight 1024 D:\in.mhtml D:\out.pdf

btw, we have another product "HTMLPrint to Any Converter Command Line" which can convert MHTML to PDF file too, you may download it from following web page to try,

http://www.verydoc.com/htmlprint-to-any.html
http://www.verydoc.com/htmlprint2any_cmd.zip

after you download it, you can run following command line to convert your MHTML file to PDF file,

html2any.exe -printtopdf C:\out.pdf D:\in.mhtml

html2any.exe -printtopdf C:\out.pdf -ps2pdfopt "-ownerpwd owner -keylen 2 -encryption 3900" D:\in.mhtml

html2any.exe -printtopdf C:\out.pdf -ps2pdfopt "-subject \"subject\" -creator \"creator\"" D:\in.mhtml

html2any.exe -printtopdf C:\out.pdf -ps2pdfopt "-$ XXXXXXXXXXXX" D:\in.mhtml

We hope above two solutions will useful to you, please feel free to let us know if you have any question for them.

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 HTML Converter (htmltools) | Tagged , | Leave a comment
Page 20 of 1,385« First...10...1819202122...304050...Last »