Board index » delphi » LoadFromStream question
Marcelo Ando
Delphi Developer |
Marcelo Ando
Delphi Developer |
LoadFromStream question2005-03-01 02:38:18 AM delphi56 Hi, I did an application to download an imagem using THTTPGet and I got an TStream as result, when the download finished. Then I created the TGifImage object and tried to LoadFromStream. I got an error message: Premature end of data. But the stream had 4KB of size. If I save the stream to file, and then read the image from saved file, it works. But I cant save the stream to file where this application will run. What can I do? Thanks, Marcelo |
Finn Tolderlund
Delphi Developer |
2005-03-01 02:57:17 AM
Re:LoadFromStream question
"Marcelo Ando" <XXXX@XXXXX.COM>skrev i en meddelelse
QuoteThen I created the TGifImage object and tried to LoadFromStream. -- Finn Tolderlund |
Marcelo Ando
Delphi Developer |
2005-03-01 03:07:31 AM
Re:LoadFromStream question
"Finn Tolderlund" <XXXX@XXXXX.COM>writes:
Quote
Regards, Marcelo |