Solved

delphi graphic component which can download from a url

Posted on 2008-09-30
6
391 Views
Last Modified: 2013-11-23
Can anyone recommend a graphic component for delphi which is able to download from a url, preferably any format?

Thanks

Steve
0
Comment
Question by:steve-west
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 14

Expert Comment

by:SteveBay
ID: 22607178
The "any format" aspect is probably going to cost you. I am not aware of any free component that does that.
 You might try looking at http://leadtools.com/ or http://skylinetools.com/imagelib/index.html neither of these solutions is inexpensive however they are fairly complete.
0
 

Author Comment

by:steve-west
ID: 22612279
Thanks SteveBay, I'll check them out.
0
 

Author Comment

by:steve-west
ID: 22612364
I've looked, but these seem to be a massive overkill for what I actually require.

I'm building an HTML editor. The main editor component (similar to a richedit), when it requires an image to be rendered, fires an event which includes as a parameter the name of the image. The implementation of the event then returns a graphic object which has loaded the image.

This is fine for locally stored images (TBitmap.loadfromfile) etc, but when the image is web based - as is frequently the case - I've no suitable TGraphic which can access the resource.

So, all I need is a delphi component, deribved from TGraphic which can do the above, preferably able to handle JPG,GIF,BMP,PNG etc.
0
 
LVL 14

Expert Comment

by:SteveBay
ID: 22614770
Sorry, I have always had these big hammers available to me so I really am not aware of any components that do just those things.

There are all sorts of image display comps available on Torry's Delphi Pages http://www.torry.net/quicksearchd.php?String=Image&Title=Yes
However I did not see any that would do the download for you. You may have to tackle that step using INDY
0
 

Accepted Solution

by:
steve-west earned 0 total points
ID: 22615233
SteveBay

I finally worked out a solution by trawling through the VCL source, after all it can't be an uncommon requirement and I eventually found the solution.

Use a TDownLoadURL action (extactns unit) to download the image to a file. This is exactly what I wanted.

Thanks for your help anyway.

Steve
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

734 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