We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Transform an image into an array into a font
Page Index Toggle Pages: 1
Transform an image into an array into a font? (Read 703 times)
Transform an image into an array into a font?
Jan 17th, 2010, 1:41pm
 
Hello everybody,

Well i'm new on processing, and i'd like to know if that would be possible to transform an image into an array, to work to this array, and finally to transform this array into a font?

If so, how?

Thank you!
Re: Transform an image into an array into a font?
Reply #1 - Jan 17th, 2010, 1:46pm
 


what do you mean by font?

generate a ttf-file... ?

or just letters on  the screen  ?
Re: Transform an image into an array into a font?
Reply #2 - Jan 17th, 2010, 1:54pm
 


Hello,

for the first part you can read

loadImage
http://processing.org/reference/loadImage_.html

you get a PImage
http://processing.org/reference/PImage.html

in combination with .get
http://processing.org/reference/PImage_get_.html


or you start with
http://processing.org/reference/get_.html

and better still

http://processing.org/reference/pixels.html

depending on what you plan to do.

Greetings!


Page Index Toggle Pages: 1