Delphi – How can i disable the interpolation of an TImage compenent on an android device? [duplicate]

  

This question already has an answer here:

How can I disable interpolation on a GPU canvas FMX TImage or set interpolation to “nearest neighbor”

1 answer

I need your help again: I just wrote a Firemonkey application which is running on windows (32/64 bit) and now i wanna use it on a mobile phone, too.

It works perfectly fine, with one problem: The option disable interpolation won’t work. I don’t know why and didn’t found an explanation.

I used a TImage component and the code looks something like that:

Bitmap1: TBitmap

Image1.disableinterpolation:=true;
Bitmap1.loadfromfile(‘Path’);
Image.Bitmap.Assign:=Bitmap1;

On Windows it works perfectly fine, but on android it seems to interpolate the image anyways. Does anyone know how to change that?

Thx

Comments are closed.