Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7556
| From | kafooster <dmozejko@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: working with raw image files |
| Date | 2011-06-13 13:41 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <e648cf41-9e2c-4acf-b312-7b83be8cd03a@h7g2000yqa.googlegroups.com> (permalink) |
| References | <0cd64f09-bd32-4b67-9266-46003dbea4b7@m4g2000yqk.googlegroups.com> <1f7a452a-8bae-43e0-ab9f-9bfed55ee206@b21g2000yqc.googlegroups.com> <a4d759a7-02dd-47b9-ba38-0dc947561230@k16g2000yqm.googlegroups.com> |
Wanderer: by *.raw I mean images with .raw extension, pure pixel data
without header
http://en.wikipedia.org/wiki/Raw_image_format
That is a clear and nice code however I think Image.open cannot
handle .raw since i get error
image1 = Image.open("hand.raw", "rb")
File "D:\Python27\lib\site-packages\PIL\Image.py", line 1947, in
open
raise ValueError("bad mode")
ValueError: bad mode
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 11:18 -0700
Re: working with raw image files Terry Reedy <tjreedy@udel.edu> - 2011-06-13 14:49 -0400
Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:08 -0700
Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:20 -0700
Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-13 21:36 +0100
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 13:41 -0700
Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 13:52 -0700
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-13 13:58 -0700
Re: working with raw image files Wanderer <wanderer@dialup4less.com> - 2011-06-13 14:28 -0700
Re: working with raw image files Martin De Kauwe <mdekauwe@gmail.com> - 2011-06-14 00:49 -0700
Re: working with raw image files Terry Reedy <tjreedy@udel.edu> - 2011-06-14 12:24 -0400
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 13:13 -0700
Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-14 21:26 +0100
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 14:20 -0700
Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-14 23:06 +0100
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 16:59 -0700
Re: working with raw image files MRAB <python@mrabarnett.plus.com> - 2011-06-15 01:24 +0100
Re: working with raw image files Dave Angel <davea@ieee.org> - 2011-06-14 19:25 -0400
Re: working with raw image files kafooster <dmozejko@gmail.com> - 2011-06-14 17:02 -0700
Re: working with raw image files Dave Angel <davea@ieee.org> - 2011-06-14 22:13 -0400
Re: working with raw image files Nobody <nobody@nowhere.com> - 2011-06-15 02:29 +0100
Re: working with raw image files Nobody <nobody@nowhere.com> - 2011-06-15 02:33 +0100
csiph-web