Raw images

Bryan Olson fakeaddress at nowhere.org
Tue Dec 20 16:49:16 EST 2005


Tuvas wrote:
 > I have an image that is in a "raw" format, ei, no place markers to tell
 > the dimensions, just a big group of numbers.

The adjective "raw", apt as it may be, is a long way from specifying
the representation of an image. *Every* digital format is "just a big
group of numbers".

 > I happen to know the
 > dimension of this array from a different source. I would like to be
 > able to display it. Is there a way to do this easily? I know that
 > several libraries use a "raw" function, but I have little doubt that
 > this differs somewhat from program to program.

Well, maybe it's easy. Perhaps a straightforward interpretation of the
numbers, along with the dimensions you know, will yield the image. It
might be harder. For an arguably-overstated exposition, see:

     http://luminous-landscape.com/essays/raw-law.shtml


-- 
--Bryan



More information about the Python-list mailing list