Text To Image - .NET Class

This project was awarded to chrt for $50 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

Text to Image - .NET CLASS

The overall concept is to take take text documents and convert them to an image or multiple images. An example would an email (text only) converted for viewing as 1 or multiple images.

Design of the object/class should work as such: (lets call the class text2image)


ImageSize [url removed, login to view]

TextFont [url removed, login to view]

TextFontSize single

TextColor [url removed, login to view]

ImageBackgroundColor [url removed, login to view]

WriteToFile Boolean

BaseFileName String

Images() Listof/Or Array of [url removed, login to view]

ImageFormat [url removed, login to view] (BMP, PNG, etc)

Text String

FitToPage Boolean




The operation is quite simple. By setting the properties on the class, then choosing publish, the images either get stacked on the Images array/listof, or writted to disk using the BaseFileName as the BaseName and appending "_##" to the name for each page. The decision as whether to write to disk or stack individual Images on the property is decided by the value of the property WriteToFile which is default - FALSE.

FitToPage: Default is False. IF set to true, all text will be written to 1 image, so computing the number of lines required, then dividing that into the ImageSize as is set (minus font overhead - also using windows can tell you how man pixels high or wide the characters are) will give you an appropriate font size to scale to, OR create a temp image size large enough at some set font size, and then reduce/scale the image down to requested size.

Important: Word wrapping. Because text can overflow the width, you must provide for word wrapping. No words, sentences etc should go off the page.

If the documents is 52 lines of text, and the image size and font selected only support 24 lines per page, then you will end up with 3 images.

To be done as a .NET class and cleanly documented.

Awarded to:

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online