[python-win32] How to convert an OLE image from ODBC?
Tim Golden
mail at timgolden.me.uk
Fri May 11 14:54:08 CEST 2007
Steven James wrote:
> It appears that your database is adding a header of its own on the image
> file (or maybe this is part of it being an OLE object, not sure).
>
> If you strip off the first 88 bytes, this is a standard windows bitmap
> file.
> The following code works on your file, but for your code you should just
> start dumping the data at the 89th byte.
I think that's what the OP meant when he said that they
were basically the same, but that he didn't know if the
size of the header would be constant.
TJG
More information about the Python-win32
mailing list