Article View: borland.public.cppbuilder.internet.web
Article #437Re: http image requests?
From: Remy Lebeau (TeamB)
Date: Tue, 19 Dec 2006 18:41
Date: Tue, 19 Dec 2006 18:41
14 lines
1345 bytes
1345 bytes
"Hans Galema" <notused@notused.nl> wrote in message news:458824ea@newsgroups.borland.com... > Use TIdHttp to Get it from that url in a stream. > Then use Image1->Picture->LoadFromStream(); TPicture::LoadFromStream() only works for bitmaps. To load a JPG, you will have to use TPicture::LoadFromFile() instead (making sure the JPG format is registered with TPicture first), or else instantiate a separate TJPEGImage and then call its LoadFromStream() instead. Gambit
Technical Details
Message-ID:
<45883242@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<458812d8$1@newsgroups.borland.com> <458824ea@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,1d9d6bbac5c5c770 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <458812d8$1@newsgroups.borland.com> <458824ea@newsgroups.borland.com> Subject: Re: http image requests? Date: Tue, 19 Dec 2006 10:41:58 -0800 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 75.83.34.171 Message-ID: <45883242@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1166553666 75.83.34.171 (19 Dec 2006 10:41:06 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail