Re: richard heathfield
From: Programmer Dude (Chris_at_Sonnack.com)
Date: 11/18/03
- Next message: Paavo P: "Re: Ideas for software"
- Previous message: Richard Harter: "Re: The producer/consumer task in San"
- In reply to: Mantorok Redgormor: "Re: richard heathfield"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 18 Nov 2003 09:26:45 -0600
Mantorok Redgormor wrote:
> I can convert it to (greyscale)bmp and then run it through hexdump
> not sure if this is good enough
No, as Arthur explains, you need pixel values, and these aren't
obvious in most hex dumps of image files (in many cases, the value
in the image file is an index into a color palette, so each value
needs to be looked up).
Reading Richard's description, it struck me that this could be
pretty easily done in (something like) Visual BASIC. It wouldn't
run as fast as using (something like) C++, but maybe for this
speed isn't an issue?
It's pretty easy to get an image into a PictureBox, and once there,
it's pretty easy to read the RGB pixel colors. You could use the
same idea to analyze the density (white/black) of the font glyphs.
If you have Visual BASIC, or any MS Office product with VBA (such
as Excel, Word, etc.), you have everything you need.
-- |_ CJSonnack <Chris@Sonnack.com> _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________|
- Next message: Paavo P: "Re: Ideas for software"
- Previous message: Richard Harter: "Re: The producer/consumer task in San"
- In reply to: Mantorok Redgormor: "Re: richard heathfield"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|