Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Show a .PNG with transparency in a TImage?


This question is answered.


Permlink Replies: 1 - Last Post: Jan 20, 2015 2:39 PM Last Post By: Antonio Estevez
Michael Leahy

Posts: 239
Registered: 5/9/07
Show a .PNG with transparency in a TImage?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 20, 2015 2:27 PM
I want to display a PNG with transparency on a Firemonkey form. (Delphi XE7 OSX)

I drop a TImage on the form but I cannot find a way to have it load the contents of the PNG at design time.

I drop a TImageControl on the form, add the PNG bitmap, but it shows up in a black frame with white background where I want it to be transparent.
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Show a .PNG with transparency in a TImage?
Correct
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 20, 2015 2:39 PM   in response to: Michael Leahy in response to: Michael Leahy
El 20/01/2015 a las 23:27, Michael Leahy escribió:
I want to display a PNG with transparency on a Firemonkey form. (Delphi XE7 OSX)

I drop a TImage on the form but I cannot find a way to have it load the contents of the PNG at design time.

Use the MultiResBitmap property
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02