[Tkinter-discuss] Default Tkinter Structure of a 640x480 PIL BMPFile?

Igor Novikov igor.e.novikov at gmail.com
Wed Apr 1 22:54:31 CEST 2009


Sorry you have mixed in question three different instances: BMP, PIL and
Tkinter.
PIL can works without Tkinter. So PIL image objects don't depend on Tkinter.
But PIL can generates tcl/tk image objects for UI use cases.
BMP is a storage format. It's just an image file but not an image object in
memory.
So please clarify your question. Which information you need or which code
you
wish implementing?


On Wed, Apr 1, 2009 at 11:29 PM, Wayne Watson
<sierra_mtnview at sbcglobal.net>wrote:

>  I'm using Win Python, and have some small familiarity with library
> compents. How do I find Imaging.h?
>
>
> Igor Novikov wrote:
>
> Hi Wayne,
>
> I think you can find an answer in PIL source code. Take look at Imaging.h
> The header contains Imaging object definition. Loaded image is not BMP,
> PNG, TIFF
> or any other storage format because it's impossible to process image in
> memory
> using storage format structure (for example, they often use compression).
>
> Sincerely,
>
> Igor Novikov
> sK1 Project
> http://sk1project.org
>
> 2009/4/1 Wayne Watson <sierra_mtnview at sbcglobal.net>
>
>>  Thanks, but there seem to be an unending # of mail lists for Python.
>> I've rummaged around the link before you gave, but zippo. I just tried
>> this on Google:
>>
>> bmp bits site:http://www.pythonware.com/library/pil/handbook/index.htm
>>
>> It searches the entire site. Zippo again.
>>
>> I guess it's another mail list to join.
>>
>> Whoops, this a better search:
>> bmp bits site: http://www.pythonware.com/library/pil/
>>
>> Nothing of interest. Well, maybe I stuck in 24 and one hit discusses
>> decoder.
>>
>> Michael O'Donnell wrote:
>>
>> Dear Wayne,
>>
>>   Probably better directed at the PIL/Image list:
>> http://mail.python.org/mailman/listinfo/image-sig
>>
>> In any case a BMP file has a structure independent of the software which
>> reads it, do a google for bmp to find information on it.
>>
>> Once an image is loaded into PIL, PIL offers methods to access
>> the image. See PIL documentation for these methods:
>> http://www.pythonware.com/library/pil/handbook/index.htm
>>
>> Mick
>>
>> 2009/4/1 Wayne Watson <sierra_mtnview at sbcglobal.net> <sierra_mtnview at sbcglobal.net>:
>>
>>
>>  See Subject. Does it have a header, DIB,  palette, and data section? What is
>> the default depth?
>> --
>>
>>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>>
>>              (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)
>>
>>
>>           The Obama Administration plans to double the production
>>           in solar energy from 1% to 2% of the total energy
>>           supply in the next few years. One nuclear reaction
>>           would do the same. Heard on Bill Wattenburg, KGO-AM
>>
>>           "Less than all cannot satisfy Man." -- William Blake
>>
>>
>> _______________________________________________
>> Tkinter-discuss mailing listTkinter-discuss at python.orghttp://mail.python.org/mailman/listinfo/tkinter-discuss
>>
>>
>>
>>  --
>>
>>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>>
>>              (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)**
>>           The Obama Administration plans to double the production
>>           in solar energy from 1% to 2% of the total energy
>>           supply in the next few years. One nuclear reaction
>>           would do the same. Heard on Bill Wattenburg, KGO-AM
>>
>>           "Less than all cannot satisfy Man." -- William Blake
>>
>>
>>
>> _______________________________________________
>> Tkinter-discuss mailing list
>> Tkinter-discuss at python.org
>> http://mail.python.org/mailman/listinfo/tkinter-discuss
>>
>>
>
> --
>
>            Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>
>              (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time)**
>           The Obama Administration plans to double the production
>           in solar energy from 1% to 2% of the total energy
>           supply in the next few years. One nuclear reaction
>           would do the same. Heard on Bill Wattenburg, KGO-AM
>
>           "Less than all cannot satisfy Man." -- William Blake
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20090401/ac288c35/attachment-0001.htm>


More information about the Tkinter-discuss mailing list