Ok, I want to know if this is possible. I have the following text file (actually it's pgm, but viewed as text):
It's a file made of zeros and " "(spaces), and the zeros form the word "exemplu".
Is there a way I can transform these zeros intro an image contained by an applet (using the Graphics class)?
I want to find out stuff about the word represented by the zeros (like the dimension of each letter and the direction of the handwriting) - so I figured out that if I could transform it into a Graphics drawing inside an applet, I could use getX() and getY() for each point (I would represent each 0 with a Point2D) to give me some statistics.
So, is it possible to transform it?