[Image-SIG] Default Structure of a 640x480 PIL BMP File?

Fredrik Lundh fredrik at pythonware.com
Fri Apr 3 17:57:42 CEST 2009


On Thu, Apr 2, 2009 at 4:54 PM, Wayne Watson
<sierra_mtnview at sbcglobal.net> wrote:
> See Subject. Does it have a header, DIB,  palette, and data section? What is
> the default depth?

All BMP files have headers, of course; PIL uses a standard 40-byte
header.  Palettes and depths depend on the mode of the image you're
saving.  See the BmpImagePlugin sources for exact details.

</F>


More information about the Image-SIG mailing list