Thank you Peter. It is similar as you have pointed out. I was using a 
method for reading and writing Bitmap to the TBlobfield. I was under 
the impression that in the case of Bitmaps the header is always at 78 
bytes. However I found that when I programmatically insert a bitmap 
into the TBlobfield the header could be anywhere. So I had to write a 
method to locate it at run time. Now it works.

Anu Rang, TotallyFreeEnergy
http://totallyfreeenergy.zxq.net

--- In [email protected], "Peter Luijer" <[EMAIL PROTECTED]> wrote:
>
> Not entirely the same objects here, but it could be you're facing 
the same
> problems as when trying to insert/read JPEG's into (ADO) blobs 
(image-
> header not seen when streaming back)...
> http://delphi.about.com/od/database/l/aa030601a.htm
> 
> Good luck,
> 
> Peter.
>   -----Oorspronkelijk bericht-----
>   Van: [email protected] [mailto:[EMAIL PROTECTED]
Namens
> Anu Rang
>   Verzonden: woensdag 2 juli 2008 14:14
>   Aan: [email protected]
>   Onderwerp: [delphi-en] Long binary data to Bitmap format - 
Possible?
> 
> 
>   I have this problem with my Access DB. I add records through my 
Delphi
>   program. My data is pictures in .BMP format. After I INSERT data 
the
>   Access holds it in the table as Long binary data. If I try to 
read it
>   back I have access invalid or bitmap not in acceptable format 
issues.
>   Any thoughts/input greatly appreciated.
> 
>   Sorry for posting so many queries, incase this interferes with 
other
>   threads in anyway.
> 
>   Anu Rang, TotallyFreeEnergy
>   http://totallyfreeenergy.zxq.net
> 
> 
> 
>   
> 
> 
> [Non-text portions of this message have been removed]
>


Reply via email to