High Quality Images not working correctly

Last night I was on Makeroid and added one of the Material Icons to the Titlebar. When I have “High Quality Image” checked, it makes the icon smaller, if I dont have it checked, it works fine.

Android 8.0.0
Makeroid 1.1.3
Latest Companion

I haven’t tested this function but if I can imagine how it works is that it removes the Dp equation and shows the real px of the image.

/Boban

If “High Image” is enabled then it loads all images in the correct way how android does it.
If disabled it uses the old code from app inventor.

I have just tried and as i suspected it’s should shows the real px of the image but it’s a bug It divides the image once more time with density of the device…

ex.
image1 320w * 480h (w 320 / density 4 = 80 / density 4 = 20)(h 480 / density 4 = 120 / density 4 = 30)
image2 480w * 854h (w 480 / density 4 = 120 / density 4 = 30)(h 854 / density 4 = 213,5 / density 4 = 53,375)
bild

@Mika

/Boban

About which block are you talking @hammerhai ?

This? Or any other
blocks

1 Like

That way…

1 Like