Load From Url TBitmap Helper Class For Delphi XE6 Firemonkey On Android And IOS

Delphi XE6 Firemonkey Bitmap Helper Class Load From URLDeveloper Humphrey. Kim Hyun – Soo has a demo up which shows how to subclass TBitmap and add a LoadFromUrl function in Delphi XE6 Firemonkey. There are two different versions of the example with one implementing anonymous threads and the other just doing straight HTTP downloads. A helper class is created using this syntax: TBitmapHelper = class helper for TBitmap. The subclass has two main functions LoadFromUrl and LoadThumbnailFromUrl. Once you include the helper unit under the implementation section of your unit you can start using the functions from it as if they were part of the original class. For example, you can start taking your normal TImage control and do TImage.Bitmap.LoadFromUrl(). There is a blog post in Korean (use Chrome translate) with the one example and then there is source code on Github with the second anonymous threaded version of the example.

Head over and check out the full blog post on subclassing TBitmap with a LoadFromUrl function.

Head over to Github and check out the anonymous thread FMX.Devgear.HelperClass and demo for using the TBitmap LoadFromUrl subclass.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Load From Url TBitmap Helper Class For Delphi XE6 Firemonkey On Android And IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

One Response to Load From Url TBitmap Helper Class For Delphi XE6 Firemonkey On Android And IOS

  1. Pingback: Access The Marvel Developer API With REST And JSON In Delphi XE6 Firemonkey On Android And IOS | Delphi XE5 XE6 Firemonkey, Delphi Android, Delphi IOS

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE6 Firemonkey BaaS Password Reset Email
Send Password Reset Emails With BaaS Providers Parse And Kinvey In Delphi XE6 Firemonkey On Android And IOS

Sarina DuPoint from Embarcadero has two blog posts which demonstrate how to use the two default providers, Kinvey and Parse,...

Close