Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Program to convert the fonts and images to binary

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


This project is a solution when you need a program on PC, which allows you to convert fonts and images to the C array, in order to use it in the program for microcontroller. They are saved in monochrome, where one bit of the variable in the array (in the program) corresponds to one pixel on the screen. Data on the picture are written line by line into the array. Also drawing, moving and a possibility to generate the entire alphabet in a single click is available. The array, depending on the width of the image or how much memory, can be a set of 8, 16 or 32-bit variables.

Possibilities:
  • defining the size of the box at which there will be a font (or image), moving picture drawn at one pixel vertically and horizontally
  • generation of fonts on base of selected Windows fonts, conversion of ASCII numbers to fonts, generation of strings and characker set (e.g. the alphabet)
  • drawing and pasting from the clipboard and file of monochrome images
  • definition of the form of writing to the array: byte, short integer, integer
  • „infeeding” bits to the least or most significant, if the font has width of e.g. 12 pixels, and the data that represents it – 16 bits
  • record from the least significant bit to the most significant, and vice versa
  • the possibility of determining the form of the C array

Link to original thread (useful attachment) – Program do konwersji czcionek i obrazkow na postac binarną
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top