Tim Golden wrote:
> 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.

What the hell. I'll go with the 88 skip trick for the while wrapping
everything into a big try/except with error logging to a file and see
how it goes.

Thanks for the help.

-- 
     Rastertech España S.A.
        Grzegorz Adam Hankiewicz
/Jefe de Producto TeraVial/

C/ Perfumería 21. Nave I. Polígono industrial La Mina
28770 Colmenar Viejo. Madrid (España)
Tel. +34 918 467 390 (Ext.17)     *·*           Fax +34 918 457 889
[EMAIL PROTECTED]         *·*           www.rastertech.es
<http://www.rastertech.es/>

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to