dwf, dwg, dwfx to swf file conversion - solution required, AutoCAD DWG to Flash Converter

Hi,

In one of my web application I want to view files with extension .dwf, .dwg and .dwfx in browser. Please let me know if you offer a solution for it.

Also I want to know if you can provide a solution to convert .dwf, .dwg and .dwfx files to .swf file.

I went through your following blog post and thought you can offer the solution.

http://www.verydoc.com/blog/is-there-an-api-or-library-for-converting-dwg-to-any-standard-image-format.html

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

image
Thanks for your message, we suggest you may download "DWG to Vector Converter Command Line" from this web page to try,

http://www.verydoc.com/dwg-to-vector.html
http://www.verydoc.com/verydoc_dwg2vector_cmd.zip

You can use "DWG to Vector Converter Command Line" to convert from DWG and DXF files to PDF files first, and then use "PDF to Flash Converter Command Line" to convert from PDF files to Flash SWF files, you may download "PDF to Flash Converter Command Line" from this web page to try,

http://www.verydoc.com/pdf-to-flash.html
http://www.verydoc.com/pdftoflash_cmd.zip

here are some command lines for you reference,

dwg2vec.exe C:\test.dwg C:\out.pdf
dwg2vec.exe C:\test.dxf C:\out.pdf

pdftoflash.exe C:\in.pdf C:\out.swf
pdftoflash.exe -swfburst2 -swfmaxopt -mapfont C:\in.pdf C:\out.swf
pdftoflash.exe -mapfont -swfburst2 -swfflatten -swfmaxopt -swfimagequality 70 -swfimagezoom 1 C:\in.pdf C:\out.swf

If you encounter any problem with above command lines, please feel free to let us know.

VeryDOC

Light bulb VeryDOC DWG to Flash Converter, Faster than ever!

DWG to Flash Converter is to create animation of DWG/DXF files. DWG to Flash converter makes it easy to share and publish AutoCAD drawings on web. AutoCAD version from R9 to 2018 is supported.

Key features:

  • Convert DWG/DXF to Flash
  • Additional viewer or plug-in is not needed to view Flash.
  • This converter remains vector image, details of drawing are well-preserved.
  • Designed for sharing and publishing AutoCAD DWG files online.
  • A Flash mapping tool for authors.

What is generating Flash files for?

You can generate SWF file with DWG to Flash converter for:
1. Desktop publishing.
2. Remain vector image, details of drawing are well-preserved.
3. Easier publishing online than PDF, DWF and image file, for image cannot be resized, PDF requires Adobe Reader and DWF is introduced by Autodesk for which DWF viewer is needed.

Stand-alone utility - AutoCAD NOT required

DWG to Flash converter is for DWG/DXF to Flash conversion and easy to use.
It is a stand-alone converter and requires no Autodesk software.

School See Also:

VeryPDF Cloud Raster to Vector Converter
http://www.verypdf.com/raster-to-vector/online-raster-to-vector.html

Stand-alone Raster to Vector Converter Desktop GUI and Raster to Vector Converter Command Line applications to convert bitmap images to vector images offline. Supports all functions in the online version, plus AI and DXF output. Works seamlessly with Illustrator, Corel, and others.

Cloud Image to Vector Converter: Convert raster images like PNGs, BMPs and JPEGs to scalable vector graphics (SVG, PDF, DXF, EPS, PS).
Input formats: PDF (Scanned PDF and Vector PDF), BMP, PNG, JPG, JPEG, GIF, TGA, PCX, TIF, TIFF, DCX, EPS, PS, ICO, MNG, PPM, PNM, PGM, PBM, PSD.
Output formats: SVG, PDF, EPS, PS, DXF.

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 DWG to Image Converter, DWG to PDF Converter, DWG to Vector Converter | Tagged , , , | Leave a comment

Print PDF to XPS and back to PDF via PowerShell

Print PDF to XPS back to PDF via PowerShell

With the help of another member on here, I was able to make two scripts: one converts a PDF to XPS and the other XPS to PDF using a workflow. When combining them into one script, the first workflow converts the file to XPS, however, the second workflow doesn't seem to work at the appropriate time or at all. There are some cleanup items at the end of the second workflow that do seem to be working properly. Can I delay the start of the second workflow somehow to start at the appropriate time? Thanks in advanced! The other question can be found here Print PDF to XPS using PowerShell.

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

image
This can be done easily, you can use VeryDOC XPS to PDF Converter Command Line to convert from XPS file to PDF file, and then use VeryDOC PDF to Vector Converter Command Line to convert from PDF file back to XPS format, you can convert from XPS to PDF and PDF to XPS from command line, you can also call them from a script to do the batch conversion.

XPS to PDF Converter Command Line,
http://www.verydoc.com/xps-to-pdf.html
http://www.verydoc.com/xps2pdf.zip

after you download it, you can run following command lines to batch convert your XPS files to PDF files,

xps2pdf.exe C:\in.xps C:\out.pdf
xps2pdf.exe C:\in\*.xps C:\out\*.pdf

PDF to Vector Converter Command Line,
http://www.verydoc.com/pdf-to-vector.html
http://www.verydoc.com/pdf2vec_cmd.zip

after you download it, you can run following command lines to batch convert from PDF files to XPS files,

pdf2vec.exe C:\in.pdf C:\out.xps
for /r D:\test %F in (*.xps) do "pdf2vec.exe" "%F" "%~dpnF.xps"
for %F IN (D:\test\*.xps) DO "pdf2vec.exe" "%F" "%~dpnF.xps"

VeryDOC

VN:F [1.9.20_1166]
Rating: 5.5/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Posted in VeryDOC SDK & COM | Tagged , | Leave a comment

How to Convert from XPS to PDF format and Convert from PDF to XPS format again?

  1. How to convert XPS to PDF from a Windows GUI application?
  2. How to automatically convert XPS to PDF from command line?
  3. How to batch convert XPS to PDF?
  4. How to convert XPS to PDF with a script?
  5. How to convert XPS to PDF from your own software?
  6. How to print XPS to PDF?
  7. How to print the XPS file to Any Windows Printer from Command Line or SDK?
  8. How to convert from PDF file back to XPS?

Both XPS (XML Paper Specification XPS, Open XML Paper Specification, OXPS) and PDF (Portable Document Format) formats are used to produce and share finalized documents: resumes, newsletters, invoices, legal documents, financial reports, tax returns and other types of documents. XPS (OXPS) format was meant to replace PDF as a universal standard for documents, but as for now PDF seems to have won this digital war.

image

Though both formats have pretty much the same functionality, XPS format, compared to PDF, seems to be almost dead in the water. If your colleague or friend receives an XPS file from you, they might find it difficult to open or even consider it as malware.

It is possible to convert XPS to PDF in a variety of ways: using offline desktop applications (manually, automatically or in batch mode), using command line interface (CLI), a virtual printer or a script file.

1. How to convert XPS to PDF from a Windows GUI application?

You can use VeryPDF XPS to Any Converter GUI to batch convert from XPS files to PDF files on your Windows system, XPS to Any Converter GUI is an offline desktop GUI application, you can use it to convert from XPS files to PDF files manually,

http://www.verypdf.com/app/xps-to-any-converter/index.html
http://www.verypdf.com/app/xps-to-any-converter/try-and-buy.html#buy
http://www.verypdf.com/dl2.php/verypdf-xps-to-any.exe

2. How to automatically convert XPS to PDF from command line?

You can use "VeryPDF XPS to Any Converter Command Line" or "VeryDOC XPS to PDF Converter Command Line" to batch convert from XPS files to PDF files from command line,

http://www.verypdf.com/app/xps-to-any-converter/try-and-buy.html#buy_cmd
http://www.verydoc.com/xps2pdf.zip

http://www.verydoc.com/xps-to-pdf.html
http://www.verydoc.com/xps2pdf.zip

3. How to batch convert XPS to PDF?

You can use xps2pdf.exe to batch convert all XPS files in a folder and its sub-folders to PDF files with one command line easily, for example,

xps2pdf.exe C:\in.xps C:\out.pdf
xps2pdf.exe C:\in\*.xps C:\out\*.pdf
xps2pdf.exe -producer "Test Producer" -creator "Test Creator" -subject "Test Subject" C:\in.xps C:\out.pdf
xps2pdf.exe -linearize C:\in.xps C:\out.pdf
xps2pdf.exe -ownerpwd 123 -keylen 2 -permission 128 C:\in.xps C:\out.pdf
for /r D:\test %F in (*.xps) do "xps2pdf.exe" "%F" "%~dpnF.pdf"
for %F IN (D:\test\*.xps) DO "xps2pdf.exe" "%F" "%~dpnF.pdf"

4. How to convert XPS to PDF with a script?

You can call "VeryPDF XPS to Any Converter Command Line (xps2pdf.exe)" or "VeryDOC XPS to PDF Converter Command Line (xps2pdf.exe)" from your script or your own software to batch convert from XPS files to PDF files easily.

Command line interface lets system administrators and advanced users can take xps2pdf.exe into use and adapt it to their company's IT structure. For example, you can call xps2pdf.exe from the Windows Task Scheduler, from a batch, cmd or VBScript file. This allows to have your XPS documents changed to PDF without your presence - conversion will be scripted and/or scheduled.

5. How to convert XPS to PDF from your own software?

You can add commands related to xps2pdf.exe into the source code of the software you are developing or your own existing software. Here's an example set of commands written in C# which can be built into your programming code:

public void convert()
{
    string converterPath = @"D:\\VeryDOC\\xps2pdf.exe";
    string procArguments = "D:\\in.xps D:\\out.pdf";
    Process process = new Process();
    process.StartInfo.UseShellExecute = true;
    process.StartInfo.CreateNoWindow = true;
    process.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
    // ProcessWindowStyle.Hidden;
    process.StartInfo.FileName = converterPath;
    process.StartInfo.Arguments = procArguments;
    process.Start();
    process.WaitForExit();
    process.Close();
    process.Dispose();
}

If you are prefer to use a SDK/DLL to instead of Command Line application, VeryDOC is also provide a XPS to PDF Converter SDK version, please feel free to contact us to require a demo version of this XPS to PDF Converter SDK product,

http://www.verydoc.com/xps-to-pdf.html

6. How to print XPS to PDF?

A simple way to convert XPS files is using a virtual printer instead of using a converter to PDF. If you don't have any virtual printer installed yet, try using VeryPDF Document Converter (docPrint Pro). It can save your XPS to PDF, which can be later printed on a regular printer, if necessary. VeryPDF Document Converter (docPrint Pro) can also save your XPS file as an image file - BMP, DCX, GIF, JPEG, PCX, PNG or TIFF.

The instruction below lets you converting files one by one, however, you can also set up batch conversion to PDF to process multiple files pretty fast.

Instruction:
Download and install VeryPDF Document Converter (docPrint Pro) from this 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

* Open an XPS file you want to convert to PDF.
* Click "File" > "Print".
* Select docPrint or docPrint PDF Driver as printer and click "Print", you will able to save to PDF file easily.

7. How to print the XPS file to Any Windows Printer from Command Line or SDK?

If you wish integrate a XPS printing function into your system, you can test with PDFPrint Command Line or PDFPrint SDK product, you may download them from this web page,

http://www.verypdf.com/app/pdf-print-cmd/try-and-buy.html#buy
http://www.verypdf.com/pdfprint/pdfprint_cmd.zip
http://www.verypdf.com/pdfprint/pdfprint_sdk.zip

Please look at following web page for more information about printing function in both PDFPrint Command Line and PDFPrint SDK products,

[VeryPDF Release Notes] VeryPDF Released PDFPrint Command Line v7.0 today, the new version supports batch print XPS files to physical and virtual printers and PDF, PCL, PS, EPS, TIFF, JPG, PNG, XPS, EMF, WMF etc. formats,
http://www.verypdf.com/wordpress/201804/verypdf-release-notes-verypdf-released-pdfprint-command-line-v7-0-today-the-new-version-supports-batch-print-xps-files-to-physical-and-virtual-printers-and-pdf-pcl-ps-eps-tiff-jpg-png-xps-e-43798.html

8. How to convert from PDF file back to XPS?

image

You can use VeryDOC PDF to Vector Converter Command Line or PDF to Vector Converter SDK to convert from PDF files to XPS files, you may download VeryDOC PDF to Vector Converter Command Line or PDF to Vector Converter SDK from this web page to try,

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

after you download PDF to Vector Converter Command Line software, you can run following command lines to batch convert from PDF files to XPS and other formats,

pdf2vec.exe C:\in.pdf C:\out.emf
pdf2vec.exe C:\in.pdf C:\out.wmf
pdf2vec.exe C:\in.pdf C:\out.ps
pdf2vec.exe C:\in.pdf C:\out.eps
pdf2vec.exe C:\in.pdf C:\out.svg
pdf2vec.exe C:\in.pdf C:\out.swf
pdf2vec.exe C:\in.pdf C:\out.xps
pdf2vec.exe C:\in.pdf C:\out.hpgl
pdf2vec.exe C:\in.pdf C:\out.plt
pdf2vec.exe C:\in.pdf C:\out.pcl

image

Questions?
Should you have any questions or issues related to converting from XPS to PDF or vice versa, please don't hesitate to contact us. Or if you know some tips or other ways we didn't mention here, please let us know (http://support.verypdf.com/open.php )! We will update this article.

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 Vector Converter, XPS to PDF And Image Converter | Tagged , | Leave a comment

PDF document properties field problem and description of modes with PDF to PDF/A Converter Command Line software

Hello! Your PDF to PDF/A Converter Tool works well but we have one problem with PDF-Fields (author, producer, creator, subject). We have tried to use these parameters but the edited PDF has no data in these fields!

We ask to help!

Thank you in advance.
Customer
------------------------------------

image
Thanks for your message, you can use following options to set author, producer, creator, subject options into PDF file,

-producer <string> : Set 'producer' to PDF file
-creator <string> : Set 'creator' to PDF file
-subject <string> : Set 'subject' to PDF file
-title <string> : Set 'title' to PDF file
-author <string> : Set 'author' to PDF file
-keywords <string> : Set 'keywords' to PDF file

VeryDOC
------------------------------------
Hello! Please describe all available modes for your wonderful tool! We haven't found any description of Option -mode

Thank you!
Customer
------------------------------------
Thanks for your message, pdf2pdfa.exe supports following modes,

pdf2pdfa.exe -mode 0 C:\in.pdf C:\pdfa-out.pdf
pdf2pdfa.exe -mode 1 C:\in.pdf C:\pdfa-out.pdf
pdf2pdfa.exe -mode 2 C:\in.pdf C:\pdfa-out.pdf
pdf2pdfa.exe -mode 22 C:\in.pdf C:\pdfa-out.pdf
pdf2pdfa.exe -mode 4 C:\in.pdf C:\pdfa-out.pdf

In general, "-mode 2" works best, you can always use "-mode 2" option to convert all of your PDF files to PDF/A files.

VeryDOC
------------------------------------
Here is the detailed command line options for PDF to PDF/A Converter Command Line v2.0 software,

PDF to PDF/A Converter Command Line v2.0
http://www.verypdf.com
http://www.verydoc.com
Email: support@verydoc.com
Release Date: Oct 13 2015
Usage: pdftools [options] <pdf-file> [<out-pdf>]
  -cl <int>           : set color space, 0 is RGB, 1 is CMYK, 2 is grayscale
      -cl 0 : use RGB  ICC profile for device-specific color spaces
      -cl 1 : use CMYK ICC profile for device-specific color spaces
      -cl 2 : use GRAY ICC profile for device-specific color spaces
  -quick              : convert PDF to PDF/A by quick mode, same as "-mode 1"
  -mode <int>         : convert PDF to PDF/A by various modes, e.g, 0, 1, 2, 22, 4, etc.
  -skip               : don't overwrite an output file if it already exists
  -producer <string>  : Set 'producer' to PDF file
  -creator <string>   : Set 'creator' to PDF file
  -subject <string>   : Set 'subject' to PDF file
  -title <string>     : Set 'title' to PDF file
  -author <string>    : Set 'author' to PDF file
  -keywords <string>  : Set 'keywords' to PDF file
  -startpage <int>    : Set the current page when open the file
  -openaction <string>: Set OpenAction to PDF file
      OpenAction includes "FitBH", "FitH", "Fit", etc., for example:
      -openaction "FitBH" or -openaction "50"
      -openaction "50" means display pages with magnification=50%.
  -reset              : Reset all PDF/A configuration files
  -repair             : Repair damaged PDF file automatically
  -$ <string>         : input registration key
Examples:
   pdf2pdfa.exe C:\in.pdf C:\out.pdf
   pdf2pdfa.exe C:\in\*.pdf C:\out\*.pdf
   pdf2pdfa.exe -producer myproducer -creator mycreator C:\in.pdf C:\out.pdf
   pdf2pdfa.exe -startpage 2 C:\in.pdf C:\out.pdf
   pdf2pdfa.exe -startpage 2 -openaction 100 C:\in.pdf C:\out.pdf
   pdf2pdfa.exe -reset C:\in.pdf C:\out.pdf
   pdf2pdfa.exe -quick C:\in.pdf C:\out.pdf
   pdf2pdfa.exe -mode 0 C:\in.pdf C:\pdfa-out.pdf
   pdf2pdfa.exe -mode 1 C:\in.pdf C:\pdfa-out.pdf
   pdf2pdfa.exe -mode 2 C:\in.pdf C:\pdfa-out.pdf
   pdf2pdfa.exe -mode 22 C:\in.pdf C:\pdfa-out.pdf
   pdf2pdfa.exe -mode 4 C:\in.pdf C:\pdfa-out.pdf

PDF to PDF/A Converter Command Line home page,

http://www.verydoc.com/pdf-to-pdfa.html
http://www.verydoc.com/pdf2pdfa_cmd.zip

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 PDF/A Converter | Tagged | Leave a comment

DWG to Image Command Line can not trim white margins from generated image files, DWG to JPG and PNG Converter

We've ordered the "DWG to Image Command Line End User License" software.

image

Now, we used the V3.2 program from your company website, and it can be run with the series number!

http://www.verydoc.com/dwg-to-image.html
http://www.verydoc.com/verydoc_dwg2image_cmd.zip

* We used version currently as below for your reference:*
DWGTools Converter Command Line v3.2
Convert DWG and DXF files to Raster BMP, JPG, PNG, TIFF, GIF formats.
Release Date: Nov  7 2016
Operating system: Windows 10 64bit

Although the program can running with serial number, we have some problem, please help us to check it.

(1) use "-debug" parameter:
Conversion fail, why is no any extra debugging information?!

(2) use "-dpi" parameter:
If we use the "-dpi" parameter, the conversion file has a lot of blank areas above and below (please see the attachment); and if we don't use the "-dpi" parameter, it automatically removes the blank. Is there any parameter that we can solve the blank space problem?!

(3) use "zoomtype" parameter:
We think to use "zoomtype 2 (Zoom Extents) parameter, It should be possible to remove the white space, but in fact, this parameter has no effect. Do you have any suggestion for that?!

(4) Could you please inform us which version program is running stability and suitable for us to use?!

Thanks for your assistance!

Best regards,
Customer
---------------------------------------------------------------------
Thanks for your message, here are answers to your questions,

1. Conversion fail, why is no any extra debugging information?

In general, the conversion fail may caused by high DPI value, the high DPI resolution will generate very big width and height values, such as an image file with 50000x50000 pixel or more dimension, if your system hasn't enough memory, it will show "Conversion fail" error message, in this case, you may reduce the DPI value to try again, e.g., "-dpi 10" or "-dpi 20",

dwg2img.exe -bgcolor 255 -dpi 20 test3.dwg _test3.png

btw, if you wish to remove highlight colors from PNG image file, you can run following command line to convert from color PNG image file to black and white image file,

imgconv.exe -threshold 98% _test3-trim.png _test3-bw.png

after you run above command line to process your image file, you will get a trimmed image file automatically.

2. In order to remove blank space from generated image files, you can use imgconv.exe application, imgconv.exe is included in the "verydoc_dwg2image_cmd.zip" package, you can run following command line to trim white margins from your PNG image files easily,

imgconv.exe -trim -border 50 -bordercolor white _test3.png _test3-trim.png

3. "zoomtype" parameter is just zoom DWG content to fit the paper size, it can't remove the margins, if you need to remove the margins, you need use imgconv.exe application.

4. You can always download the latest version from our website directly,

http://www.verydoc.com/dwg-to-image.html
http://www.verydoc.com/verydoc_dwg2image_cmd.zip

VeryDOC
---------------------------------------------------------------------

School How to convert your image to vector PDF, DXF, SVG formats (png to svg, jpg to svg, png to dxf, jpg to dxf, etc.)?

http://www.verypdf.com/raster-to-vector/online-raster-to-vector.html

image

VeryDOC has a Scan2CAD software also, with this Scan2CAD software, you can convert your images, such as PDF files, or BMP, or any other image, into a clean, editable Vector file, such as DXF, PDF, SVG, etc. formats.

Just open following web page in your web browser,

http://www.verypdf.com/raster-to-vector/online-raster-to-vector.html

image

Click on "Choose File" button to choose an architectural image, choose "Output Format" with PDF, SVG or DXF format, and choose some other options, after that, please click "Upload and Convert File" button, you will upload the raster image file to our server, our "Cloud Raster to Vector Converter" will convert this raster image file to vector DXF, PDF, SVG, etc. formats, you can download and save the converted vector file to your local system properly.

VN:F [1.9.20_1166]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Posted in DWG to Image Converter | Tagged , , , , , , | 1 Comment
Page 2 of 33112345...102030...Last »