Solved

Image Question

Posted on 2001-09-11
6
135 Views
Last Modified: 2010-04-06
If I use a TNMHTTP Component and the method Get(url)
I can do a

sl.Add(NMHTTP1.Body);
sl.SaveToFile('c:\giftest.gif');
(sl is a stringlist)

To save the body of the web-page as an gif (if it's a gif).

But how can I do if I Like to use the Gif as an image without having to save it to disk and that open it?
Is it somehow I can have it intop a TImage (mabe converted to a bitmap first if needed) without having to save it to disk first?
0
Comment
Question by:hulken
6 Comments
 
LVL 3

Expert Comment

by:cubud
ID: 6476623
You need to first download a GIF component as GIF is not natively supported in Delphi.  Make sure you find a GIF component with a LoadFromStream method.

Pete
http://www.HowToDoThings.com (Delphi articles)
http://www.Stuckindoors.com/delphi (Open source)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6478820
cubud, please comment instead of answering

hulken,

see at www.melander.dk


meikl ;-)
0
 
LVL 27

Accepted Solution

by:
kretzschmar earned 100 total points
ID: 6478823
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Expert Comment

by:Moondancer
ID: 6975976
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.  Moderators Computer101 or Netminder will return to finalize these if they are still open in 14 days.  Experts, please post closing recommendations before that time.

Below are your open questions as of today.  Questions which have been inactive for 21 days or longer are considered to be abandoned and for those, your options are:
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you, but may help others. You must tell the participants why you wish to do this, and allow for Expert response.  This choice will include a refund to you, and will move this question to our PAQ (Previously Asked Question) database.  If you found information outside this question thread, please add it.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question (if it has no potential value for others).
   --> Post comments for expert of your intention to delete and why
   --> YOU CANNOT DELETE A QUESTION with comments; special handling by a Moderator is required.

For special handling needs, please post a zero point question in the link below and include the URL (question QID/link) that it regards with details.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click this link for Help Desk, Guidelines/Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Click you Member Profile to view your question history and please keep them updated. If you are a KnowledgePro user, use the Power Search option to find them.  

Questions which are LOCKED with a Proposed Answer but do not help you, should be rejected with comments added.  When you grade the question less than an A, please comment as to why.  This helps all involved, as well as others who may access this item in the future.  PLEASE DO NOT AWARD POINTS TO ME.

To view your open questions, please click the following link(s) and keep them all current with updates.
http://www.experts-exchange.com/questions/Q.20102072.html
http://www.experts-exchange.com/questions/Q.20103849.html
http://www.experts-exchange.com/questions/Q.20145561.html
http://www.experts-exchange.com/questions/Q.20169449.html
http://www.experts-exchange.com/questions/Q.20169478.html
http://www.experts-exchange.com/questions/Q.20172645.html
http://www.experts-exchange.com/questions/Q.20177672.html
http://www.experts-exchange.com/questions/Q.20180896.html
http://www.experts-exchange.com/questions/Q.20189306.html
http://www.experts-exchange.com/questions/Q.20192697.html
http://www.experts-exchange.com/questions/Q.20193626.html
http://www.experts-exchange.com/questions/Q.20195237.html
http://www.experts-exchange.com/questions/Q.20244812.html
http://www.experts-exchange.com/questions/Q.20246719.html
http://www.experts-exchange.com/questions/Q.20261121.html
http://www.experts-exchange.com/questions/Q.20261146.html
http://www.experts-exchange.com/questions/Q.20269349.html
http://www.experts-exchange.com/questions/Q.20274432.html
http://www.experts-exchange.com/questions/Q.20289956.html

To view your locked questions, please click the following link(s) and evaluate the proposed answer.
http://www.experts-exchange.com/questions/Q.20181754.html
http://www.experts-exchange.com/questions/Q.20245940.html
http://www.experts-exchange.com/questions/Q.20253492.html

*****  E X P E R T S    P L E A S E  ******  Leave your closing recommendations.
If you are interested in the cleanup effort, please click this link
http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
POINTS FOR EXPERTS awaiting comments are listed in the link below
http://www.experts-exchange.com/commspt/Q.20277028.html
 
Moderators will finalize this question if in @14 days Asker has not responded.  This will be moved to the PAQ (Previously Asked Questions) at zero points, deleted or awarded.
 
Thanks everyone.
Moondancer
Moderator @ Experts Exchange
0
 

Author Comment

by:hulken
ID: 6977657
Sorry for taking so loong time. Have been out of country....
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6977884
Thank you for returning and finalizing your open questions.
Moondancer - EE Moderator
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now