[wxPython-users] image low resolution
Christopher Barker
Chris.Barker at noaa.gov
Fri Mar 7 09:59:28 PST 2008
Mariano Di Felice wrote:
> Do you know any method for load image in lowres? Or any library can do it?
You're really going to need to tell us more about your goals. What kind
of images? where do they come from? what formats?
Some image formats types are designed to provide lower res info first in
the file, then fill it in with more detail -- I think it's called
"interleaving".
Also, with jpeg, you can get just the "DC" signal, which is essentially
the average of each 8x8 block of pixels (I think), which can be used as
a low-res version -- but I don't' know if you need to read the whole
file anyway to get it, or whether libjpeg, or PIL or ??? supports that.
Unless you are getting your images from a net connection that may be
slow, I don't think there is much point to this anyway.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list