Text To Image - Console Programm, Convert Command Line Text or Text File to Images
Text2Image is a Console program (command line program),
with which you can convert text and RTF to images.
Screenshot
Input can be any of the three:
- Command line text;
- Plain text file;
- Rich Text file;
Background can be:
Output Can be
Command Line Parameters
The last parameter is always the text to be converted.
If +f is used, the last parameter is the input text file name,
and if the text file name has rtf extension,
it is taken as a Rich text file, otherwise, it is taken as a plain text file.
Font
| Syntax: |
-f(face-name, height, text-color) |
| Example: |
-f(Arial, -18, 0000ff) |
| Rule 1: |
Default is the system's GUI font
|
| Rule 2: |
Ignored if the input is a Rich Text file.
|
Output Image Size
| Syntax: |
-s(width, height) |
| Example: |
-s(800, 600) |
| Rule 1: |
If both width and height are not zero, more than one images may be generated.
|
| Rule 2: |
If width is not 0 but height is 0, a single image with automatic height will be generated.
|
| Rule 3: |
If width is 0, the height value is ignored.
If the input text is not an RTF file, it will be taken as single-lined,
and the output width and height will be automatically calculated.
|
| Rule 4: |
If width is negtive, the height value is ignored.
If the background is an image, its size will be taken as the output size,
otherwise, Rule 3 will be applied.
|
Output Image Margins
| Syntax: |
-m(left, top, right, bottom) |
| Example |
-m(16, 16, 16, 16) |
Clipbox
| Syntax: |
-c(x1, y1, x2, x2) |
| Example |
-c(10, 10, 90, 90) |
Output Image Background
| Syntax: |
-b(color-value or file-name) |
| Example 1 |
-b(ffffff) |
| Example 2 |
-b(bg.gif) |
Output File
| Syntax: |
-o(file-name) |
| Example: |
-o(my.jpg) |
Others
| +a |
Apply antialiased font effect. |
| +f |
The last parameter is the input file name. Without +f, the last parameter is taken as the text to be converted. |
| +c |
Copy the generated image to clipboard |
| +t |
The output image will be transparent against the background color.
Ignored if the output file name extension is not "GIF" or the background is an image. |
| +r |
Open the output image with default application. |
Usage Examples
Click here
Buy Text2IMG
- The license fee is USD 9.99.
- Our online payment service is provided by PayPal.
If you don't have a PayPal account, you can still pay with credit card there.
- Please make the payment by clicking the button below:
- Within 24 hours of the payment confirmed by our payment service provider, we will send you the licensed copy.
- If you have problems with our online payment service, please send a message to support@xuebrothers.net.
See Also
- Can you program JavaScript or VBScript? You can SDraw!
: Convert text to animated GIF.
The Thumbnails World : Convert photo thumbnails to animated GIF.
- GIFPage : Convert Rich text to GIF
- Text2GIF : Free