Image to XPS Converter

Convert image to XPS and design watermark casually

  XPS stands for XML Paper Specification. It’s a document type developed by Microsoft, which serves as a PDF alternative. And this file format is good when you need to print XPS file directly. During the printing job, some times you may need to design watermark on it and then print XPS file with watermark. VeryDOC Image to XPS Converter can help you convert image to XPS and design watermark.

  When you design watermark, you can choose which font as watermark fonts, which color, which position and others. Meanwhile, you can control the watermark height and width, opacity of watermark from 0 to 100, rotating angles and bold or italic font.

Step 1. Download Image to XPS Converter

  • This software is command line version and it sells at USD$79 now. If you do not change software working casually, you can use this software forever.
  • When downloading finishes, please unzip this software then find the executable file in extracted folder.

Step 2. Convert Image to XPS and Control Watermark style

  • When you run the conversion, please refer to the usage and examples.
    Usage: img2xps.exe [options] [Options] <Image Files>
  • When you need to convert image to XPS and add watermark, please refer to the following command line template.
  • img2xps.exe -wtext "Watermark" C:\input.tif
    img2xps.exe -wtext "Watermark" -wtype 1 C:\input.tif
    img2xps.exe -wtext "Watermark" -wf "Arial" C:\input.jpg
    img2xps.exe -wtext "Watermark" -wh 200 C:\input.jpeg
    img2xps.exe -wtext "Watermark" -wb -wi -wu -ws C:\input.gif
    img2xps.exe -wtext "Watermark" -wo 80 C:\input.png
    img2xps.exe -wtext "Watermark" -wo 80 -wa 75 C:\input.bmp
    img2xps.exe -wtext "Watermark" -wc "FF0000" C:\input.tga
    img2xps.exe -wtext "Watermark" -wc "00FF00" C:\input.wmf
    img2xps.exe -wtext "Watermark" -wc "0000FF" C:\input.emf
    img2xps.exe -wtext "Watermark" -wx 100 -wy 100 C:\input.tif

Related Parameters:
-wtext <string>        : when you specify text of watermark on printed document, please add this parameter
-wtype <int>           : by this parameter, you can control type of watermark. You can under it as position type.
    0 : normal watermark
    1 : watermark on header
    2 : watermark on footer
  -wf <string>         : font name of watermark, say you can specify the font as times new Roman or others.
  -wh <int>              : font height of watermark
  -ww <int>             : font width of watermark
  -wb                   : specify bold font
  -wi                    : specify an italic font
  -wu                   : specify an underlined font
  -ws                   : specify a strikeout font
  -wo <int>       : when you need to control opacity of watermark, from 0 to 100, please add this parameter, say you can use wo 80 , the opacity of watermark is 80 percent.
  -wa <int>              : angle of watermark
  -wc <string>         : color of watermark,
    FF0000: Red color
    00FF00: Green color
    0000FF: Blue color
    HexNum: Other colors
  -wx <int>              : X offset of watermark
  -wy <int>              : Y offset of watermark

Now let us check the effect of conversion and adding watermark from the following snapshot.
input png and output XPS

During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Image to XPS Converter

Convert Image to XPS from ASP/PHP/C#/.NET/… etc.

   When you need to convert large volumes of image files in real-time on server or for developing, maybe you can have a free trial of software VeryDOC Image to XPS Converter, which can be used to be called via an easily integrated COM object (or DLL Library, or Command Line), enabling developers to access the converter via any programming or scripting languages, such as Visual Basic, C/C++, Delphi, ASP, PHP, C#, .NET, etc. Using the COM object (or DLL Library, or Command Line), file conversions can be done consecutively or simultaneously.

Step 1. Download Image to XPS Converter

  • When downloading finishes, there will be some zip file. Please extract it to some folder then you can check the elements in it.
  • This software only can work in Window system both 32-bit and 64-bit.

Step 2. Some examples of conversion from Image to XPS

For example, when you need to call this software from C#, please refer to the following snapshot.

Sample code #1 (C# example),
Make use of the PROCESS class available in SYSTEM.DIOGNOSTICS namaspace, use the following piece of code to execute the img2xps.exe file,
~~~~~~~~~~~~~~~~~
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace ConsoleApplication1
{
    class Program
{
static void Main(string[] args)
{
Process proc = new Process();
proc.StartInfo.FileName = @"C:\\img2xps.exe";
string strArguments = "";
strArguments += " D:\\temp\\sample.tif D:\\temp\\out.xps";
Console.WriteLine(strArguments);
proc.StartInfo.Arguments = @strArguments;
proc.Start();
proc.WaitForExit();
}
}
}

When you need to call this software from ASP, please refer to the following command line template.

Sample code #3 (ASP example),
Please by following steps to call img2xps.exe inside a special user account,
1. Please download and install EXEShell COM Library (freeware) from following URL first,
https://www.verydoc.com/exeshell.html
https://www.verydoc.com/download/exeshell.zip
2. Please use following ASP code to run the conversion inside a special user account,
~~~~~~~~~~~~~~~~~
<%
    Set comEXEShell = Server.CreateObject("exeshell.shell")
    RootPath = Server.MapPath(".") & "\"
    EXEFile = RootPath & "img2xps\img2xps.exe"
    InFile = RootPath & "test.tif"
    OutFile = RootPath & "out.xps"
    strCommandLine = EXEFile & " " & InFile & " " & OutFile
    response.write strCommandLine & "<br>"
    comEXEShell.RunCommandLine "UserName", "Password", strCommandLine
    Set comEXEShell = Nothing
%>
~~~~~~~~~~~~~~~~~
Remark:
You may encounter Error 1314 in some Windows systems when you switch between user accounts, this is caused by permission setting, please refer to the steps in #2 to solve the 1314 Error.

There are too many functions, I can list all of them here. If you need to check more, please visit it on our website. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Image to XPS Converter

How to know Tiff pages without opening it and then convert it to XPS?

When you run conversion from Tiff to XPS on server or with other applications, it will be a little inconvenient to open input tiff files. However, sometimes you do need to check pages in tiff to estimate the conversion time and check conversion effect. When encounter those problem, VeryDOC Image to XPS Converter is a good solution.  By this software you can count pages in tiff files from MS Dos Windows and convert tiff to XPS. In the following part, I will show you how to use this software.

Step 1. Download Image to XPS Converter

  • This software is command line version, when downloading finishes, there will be an zip file in downloading folder. Please extract it to some folder then you can check the elements in it.
  • This software is Window application, for now it can not work under Mac and Linux system.

Step 2. Count Tiff pages and convert tiff to XPS

  • When run the conversion, please refer to the usage and examples.
    Usage: img2xps.exe [options] [Options] <Image Files>
  • When you count pages from tiff, please refer to the following command line template.
    img2xps.exe -getpagecount C:\input.tif
    -getpagecount: by this parameter, you can read page count from input image file
    When you input the command line, please input the full path of executable file, parameter –getpagecount, then the full path of the input tiff file. Now let us check the conversion in MS Dos Windows.
    count pages in Tiff from Dos
    The command line is quite simply but you can know the pages in tiff file are five.
  • When you need to convert tiff file to XPS, please refer to the command line template.
  • img2xps.exe -paper "11x17in" C:\input.tif
    img2xps.exe -paper "215.9x279.4mm" C:\input.tif
    img2xps.exe -printer "Microsoft XPS Document Writer" -paper "612x792pt" C:\input.tif
    img2xps.exe -printer "XPS Printer" -paper "612x792pt" C:\input.tif
    img2xps.exe -xoffset 1000 -yoffset 1000 -width 2000 -height 2000 C:\input.tif
    During the conversion, you can specify paper size, specify conversion printer, and adjust the position of content. Let us check the parameter explanation.
    -printer <string>      : printer name to xps printing
      -paper <string>       : set paper size to xps format
        auto   : retrieve paper size from image file
        number : standard paper size
        others : user defined paper size
      -xoffset <int>         : specify left offset for output image
      -yoffset <int>         : specify top offset for output image
      -width <int>           : specify width for output image
      -height <int>          : specify height for output image

    By this software, you can also add watermark to converted XPS file. If you need to know more functions or examples of this software, please pay more attention to our website. During the using, if you have any question, please contact us as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Image to XPS Converter

Convert image to XPS by specifying input file path in text by command line

  VeryDOC Image to XPS Converter can be used to convert TIF, TIFF, JPG, JPEG, GIF, PNG, BMP, TGA, WMF, EMF, PCX etc. files to XPS files for further processing. When you need to do batch conversion, you can either use bat file, wild character and text file which list all image files needed conversion. By this function, you only need to list image file path needed converting in text file, then the conversion can be done in a few seconds. In the following part, I will show you how to use this function.

Step 1. Download Image to XPS Converter

  • This software is command line version software, when downloading finishes there will be an zip file in the downloading folder. Please extract it to some folder then you can check the elements in it.
  • If you need to check the conversion effect, please double click the test bat file in extracted folder.

Step 2. Convert Image to XPS by Command Line in Batch

Usage: img2xps.exe [options] [Options] <Image Files>

  • When you need to convert image to XPS in batch, you can list all the image file path in text file then convert this text file to XPS. The all the image files listed in the text will be converted to XPS at once. For example:
    img2xps.exe C:\files.txt C:\out.xps
    Please note there should be full path of image file in the text file or the conversion may fail. And no matter how many files listed in the text, the conversion can be done in a few seconds. And by this function, you can list files in any folder and in any supported image file formats. During the conversion, you will see the xps files output one by one. Now let us check the conversion effect from the following snapshot.
     input png and output xps
  • When you need to do the conversion in batch, you can also use wild character like the following command line template.
  • img2xps.exe C:\*.tif C:\out.xps
    img2xps.exe C:\test*.tif C:\*.xps
    By those above command line, you can convert all tif files in C disk or all tiff files with prefix text to XPS file in batch. And you can write bat file to do the conversion in system automatically. Compare with the first batch conversion method, using wild character is much simply but it only can convert files in one file format to XPS. However if you use the first method, you can convert any supported image file to XPS easily.

By this software, you can do lots of thing. During the using, if you have any question, please contact us as soon as possible.

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

What license should I choose for doc2any command line?

Hi, I'm using trail version of verypdf using doc2any command to convert rtf files to pdfs. In this trail i'm unable to generate all my 900 rtfs to pdfs. Is there any limit in trail versions?. My trail version also expired after generating 96 pdfs. I have tried 4 to 5 machines in my office. Please reply.

Customer

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

Thanks for leaving a message for us.

If you use the trial version, if only can convert 100 files then it will not work any more. When you register it, this limitation will be removed.

Thanks for your cooperation and best wishes for you.

VeryDOC

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

Hi,
Thanks for your response. If I get registered to Verypdf, am I able to convert all my 900 rtf's to 900 pdf's. If so, which version i have to purchase. Please assure us there will be no limitation after purchasing. Now we are in the final stage of our project. Please help.

Regards,
Customer

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

Hi,
Thanks for your message.

If you register it, there should not have problem when converting 900 rtf's to 900 pdf's. Please choose the version:

DOC to Any Converter Command Line 1 End User License USD$79

If you do not need to develop software based on our software.

During the using, if you have any question,please contact us as soon as possible.

VeryDOC

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

Hi,

I have a Java application in which one loop executes for 900 count to convert 900 rtfs to 900 pdfs. In this loop we use below Command Line statement for 900 times

"C:\\Test project\\doc2any_cmd\\doc2any.exe -useoffice 1 C:\Test1.rtf D:\Test1.pdf"

The below is our Java Code:

Runtime runtime=Runtime.getRuntime();
try {
runtime.exec("C:\\Test project\\doc2any_cmd\\doc2any.exe -useoffice 1 C:\Test1.rtf D:\Test1.pdf");
} catch (IOException e) {
System.out.println("Exception occured while generating1 very PDF...");
e.printStackTrace();
}

To execute this Java code & to convert 900 rtfs to 900 pdfs using this code on demand basis (anytime), which license version has to be taken?

Is the below version is suitable for us?

"DOC to Any Converter Command Line 1 End User License USD$79"

Thanks,
Customer

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

Thanks for your message, if you will call doc2any.exe from your web service, you need purchase the Server License, doc2any Server License is USD$295 per server, you can purchase it from our website directly,

https://www.verydoc.com/doc-to-any.html

However, if you will not call doc2any.exe from web service, you just need run it by manual to convert RTF files to PDF files, the end user license is enough for you, the cost of end user license is USD79 per user.

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)