A
A
Alexander Anisimov2016-04-20 23:16:21
Programming
Alexander Anisimov, 2016-04-20 23:16:21

Creating a program to convert text to an image. In which direction to look for a solution?

I need an understandable, convenient and, cool if, beautiful desktop program, into which I enter four four-digit numbers, press the button, as a result I get a .bmp image of the form:
0b298348d59f40a4a836a1820200e3a8.png
Image resolution 64x96 pixels. The location of the pixels inside the numbers is strictly prescribed, the numbers themselves should also always be obtained in one place.
Option 1. I figure it out myself. There are initial programming skills (Delphi, about 10 years ago), and an interest in creating a thing myself. Tell me the environment in which it will be easier for me to create such an application.
Option 2. Order from a pro for whom this task is seeds. In this version, you need a stable, pleasant program at the output. Of course for rubles. Where can I find this pro and how much will such a solution cost?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
T
twintwin1003, 2016-04-20
@twintwin1003

I like option 1 :)
The task is not difficult, for any language you can find an adequate library that works with images (often they are already included by default).
Here is an implementation in 7 lines of code in python (it is simple + low entry threshold) https://en.wikibooks.org/wiki/Python_Imaging_Libra...
Parsing the code, you can see that working with an image is like a two-dimensional array. In your case with digits, you can pre-define each digit as a two-dimensional array. And just generate "image" from templates :)

A
abcd0x00, 2016-04-21
@abcd0x00

Usually, picture numbers are written in a row in the image, and the program simply cuts out the desired one from this row.
You can use C++/Qt. To create window applications - Qt Creator.

A
Alexander Skusnov, 2016-04-21
@AlexSku

Download the font "seven-segment indicator" and display text, not pictures.

E
evgeniy_lm, 2016-04-21
@evgeniy_lm

Well, according to the first option, you have already been written about Lazarus. In principle, you can use anything from VBA to C ++, but Lazarus is more similar to Delphi and is better in many ways.
For the second, you can write to me by mail, I think we will agree

X
xmoonlight, 2016-04-20
@xmoonlight

1
www.lazarus-ide.org

S
sim3x, 2016-04-21
@sim3x

www.imagemagick.org/usage/text

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question