How to call Flash to Image Converter Command Line or SWF to Image Converter Command Line from PHP code?

Hi Sir,

We need SWF to JPG Converter Command Line that would be used by PHP script. Tell me if we buy this product, can you help for this.

And also tell me that my requirement is possible or not.

Requirement:

We need to convert .swf into .jpg by using php script or JavaScript.

Thanks.
Customer
--------------------------------------------
Yes, this is possible, we can convert SWF file to JPG file using PHP or JavaScript code.

Flash to Image Converter Command Line Server License is $299 per server, you can download and purchase it from following web page,

https://www.verypdf.com/flash-to-image/try-and-buy.html

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

VeryPDF
--------------------------------------------
Thanks for your reply,

Can you give me a trial for convert .swf into .jpg using php.

Sample command line and trial download link.

Thanks
Customer
--------------------------------------------

Thanks for your message, you can download the trial version from VeryPDF web site and to try it by yourself,

https://www.verypdf.com/flash-to-image/try-and-buy.html
https://www.verypdf.com/dl.php?file=swftoimage_cmd.zip

You can run following command line to convert your SWF file to JPG files,

swf2img.exe -in "D:\temp\test.swf" -out "D:\out\test.jpg"

You can also call above command line from your PHP code by exec() or shell_exec() function, if you encounter any problem, please feel free to let us know.

VeryPDF
--------------------------------------------
We have released a new version of Flash to Image Converter Command Line today, you may download new version from following web page,

https://www.verypdf.com/app/flash-to-image-cmd/index.html
https://www.verypdf.com/dl.php?file=swftoimage_cmd.zip

We have added a new swf2img2.exe application, you can call this swf2img2.exe from your PHP code to convert SWF files to image files easily.

The following are options supported by swf2img2.exe application,

Product Name: VeryPDF Flash to Image Converter Command Line
Product Web Page: https://www.verypdf.com/app/flash-to-image-cmd/
Release Date: Sep  2 2014
Web: https://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

Here is a sample PHP code to convert SWF file to PNG files,

<?php

$strCmd = '"D:\temp\swf2img2.exe" "D:\temp\test.swf" "D:\temp\test.png"';
$strOutput = shell_exec($strCmd);
echo $strOutput;

?>

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)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!