user3336799
user3336799

Reputation:

Why images can not be seen in TImage on some devices?

I use TImage (in Delphi XE5, FMX) in my app.but all of the components can be seen except TImage content on some devices.
I try to display any pictures in bitmap or jpeg formats. I set bitmap in MultiResBitmap property in DesignTime or load jpeg image in Runtime.

For example on Device : Samsung Galaxy S Dous2 Android 2.3.6 , HTC ONE M8 Android 4.4 , Huawei Tab 7 android 4.3 , Huawei P6 Android 4.2.2 TImage Content can not be seen and Show a black rectangle. on other devices TImage worked properly.

Upvotes: 1

Views: 424

Answers (1)

Remi
Remi

Reputation: 1299

You should first make a multiresbitmap with the Editor

And then load the Multi-Resolution Bitmap

Upvotes: 0

Related Questions