Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 28 Oct 2000.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Image -> ASCII conversion : Help Wanted

Image -> ASCII conversion : Help Wanted

alt.ascii-art · 3 messages · 28 Oct 2000 - 11 Nov 2000
Greetings,

I have a simple 3 colour image (white, blue, black) that is 2000x2000
pixels in size. It is a
grid, where the gridlines are black, and squares are either filled with
white or blue.  It is
derived from making a layer in a Photoshop image and then just copying
the contents of
the layer into a new file, so it can be any format that Photoshop 5.0
can save in, in case the
file type is of great importance.

What I want to do is to find out the information for each x,y coordinate
and import that
information into a spreadsheet, like Excel. For example, let's say that
the x,y = 200, 400
(ie: the pixel is located 200 pixels across from the left, and 400 up
from the bottom of the
image).

If that pixel is black, I want to be able to convert that information so
that I can read it in
Excel. I don't care whether it is defined as white = 1, black = 2, blue
=3, or whether it is
defined as white = FFFFFF, black = 000000, blue = 0000FF, or whether it
is defined as
white = 255-255-255, black = 0-0-0, blue = 0-0-255. or any symbols, so
long as I can differentiate between the tree tones.   I can use Excel to
extract the
information I need.

According to the Photoshop help files, the RAW format should be the one
I use, but I am
having problems with it.  Every time I save the file in RAW format and
try to open it with Excel, I just get the same character (a "y" with two
dots above it (umlaut?)) about 200 times, with no spaces between
characters.

My next thought was that perhaps a program that took an image and
converted it to ASCII art might solve the problem.  I've done a search,
but found nothing out there able to handle images that are 2000x2000
pixels.

Can anyone help me to locate software which might be of use?  You can
either reply here, or directly to me via t.c...@landfood.unimelb.edu.au

Thanks in advance,

Trav.

hi, i am a little bit tired already, so my reply
will just be my tonight's "brain noise"...

Trav schrieb:
> 
> Greetings,
> 
> I have a simple 3 colour image (white, blue, black) that is 2000x2000
> pixels in size. It is a
> grid, where the gridlines are black, and squares are either filled with
> white or blue.  It is
> derived from making a layer in a Photoshop image and then just copying
> the contents of
> the layer into a new file, so it can be any format that Photoshop 5.0
> can save in, in case the
> file type is of great importance.
> 
> What I want to do is to find out the information for each x,y coordinate
> and import that
> information into a spreadsheet, like Excel. For example, let's say that
> the x,y = 200, 400
> (ie: the pixel is located 200 pixels across from the left, and 400 up
> from the bottom of the
> image).
> 
> If that pixel is black, I want to be able to convert that information so
> that I can read it in
> Excel. I don't care whether it is defined as white = 1, black = 2, blue
> =3, or whether it is
> defined as white = FFFFFF, black = 000000, blue = 0000FF, or whether it
> is defined as
> white = 255-255-255, black = 0-0-0, blue = 0-0-255. or any symbols, so
> long as I can differentiate between the tree tones.   I can use Excel to
> extract the
> information I need.
> 
> According to the Photoshop help files, the RAW format should be the one
> I use, but I am
> having problems with it.  Every time I save the file in RAW format and
> try to open it with Excel, I just get the same character (a "y" with two
> dots above it (umlaut?)) about 200 times, with no spaces between
> characters.

the y with two dots above is no umlaut, it is a trema sort of thing
(like the i with two dots above). the symbol you mean just
happens to have the ascii-ordinal of 255 (or $FF), so could it be that
these are just the "white" bytes (actually three of them for one pixel
if your image is in 24bit truecolor ? try to convert it to a "palette
indexed"
color mode (i.e. 256 or 16 colors) and dump it then to a RAW file.
Another thing might be that excel cannot handle characters with an
ascii value lower that 32, since there are non-printable characters.
try to set the colors in a manner so that all bytes on the output
are between 32 and 128, that should work.

> My next thought was that perhaps a program that took an image and
> converted it to ASCII art might solve the problem.  I've done a search,
> but found nothing out there able to handle images that are 2000x2000
> pixels.
> 
> Can anyone help me to locate software which might be of use?  You can
> either reply here, or directly to me via t.c...@landfood.unimelb.edu.au
> 
> Thanks in advance,
> 
> Trav.

MiKe® <fai...@lux.or> 11 Nov 2000 00:00 · permalink · report
Trav a *crit :
> 
> Greetings,
> 
> I have a simple 3 colour image (white, blue, black) that is 2000x2000
> pixels in size. It is a
> grid, where the gridlines are black, and squares are either filled with
> white or blue.  It is
> derived from making a layer in a Photoshop image and then just copying
> the contents of
> the layer into a new file, so it can be any format that Photoshop 5.0
> can save in, in case the
> file type is of great importance.
> 
> What I want to do is to find out the information for each x,y coordinate
> and import that
> information into a spreadsheet, like Excel. For example, let's say that
> the x,y = 200, 400
> (ie: the pixel is located 200 pixels across from the left, and 400 up
> from the bottom of the
> image).
> 
> If that pixel is black, I want to be able to convert that information so
> that I can read it in
> Excel. I don't care whether it is defined as white = 1, black = 2, blue
> =3, or whether it is
> defined as white = FFFFFF, black = 000000, blue = 0000FF, or whether it
> is defined as
> white = 255-255-255, black = 0-0-0, blue = 0-0-255. or any symbols, so
> long as I can differentiate between the tree tones.   I can use Excel to
> extract the
> information I need.
> 
> According to the Photoshop help files, the RAW format should be the one
> I use, but I am
> having problems with it.  Every time I save the file in RAW format and
> try to open it with Excel, I just get the same character (a "y" with two
> dots above it (umlaut?)) about 200 times, with no spaces between
> characters.
> 
> My next thought was that perhaps a program that took an image and
> converted it to ASCII art might solve the problem.  I've done a search,
> but found nothing out there able to handle images that are 2000x2000
> pixels.
> 
> Can anyone help me to locate software which might be of use?  You can
> either reply here, or directly to me via t.c...@landfood.unimelb.edu.au
> 
> Thanks in advance,
> 
> Trav.

Graphic Converter will show x,y co�rds
allows more than one window open
will open more diff files than photoshop
that I have - I use to create jpg, bmp, or
tiff to use with photoshop

info at :
http://lemkesoft.com

(GC is Mac only)

MiKe�

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 2000 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post