S sorex Expert Licensed User Longtime User Dec 20, 2014 #1 Hello, What is the best method to give really smooth downscaled transparent images on Android? I tried the regular core drawbitmap method to a smaller canvas size (upper right circle in image) but for some reason it looks bad and even worse than a 1:1 copy and then resizing its placeholder (bottom right cirlce in image). I've attached an image that illustrates it and the smaller it gets the worse. The right part of the image is the zoomed version of what you see on the left. Attachments resize.png 17.2 KB · Views: 524 Last edited: Dec 20, 2014
Hello, What is the best method to give really smooth downscaled transparent images on Android? I tried the regular core drawbitmap method to a smaller canvas size (upper right circle in image) but for some reason it looks bad and even worse than a 1:1 copy and then resizing its placeholder (bottom right cirlce in image). I've attached an image that illustrates it and the smaller it gets the worse. The right part of the image is the zoomed version of what you see on the left.
S sorex Expert Licensed User Longtime User Dec 20, 2014 #2 if you think that was just nitpicking I'll show you how bad it looks with my object. right is the bitmap copy one and looks way off. it seems that the .drawBitmap to different rectangle shape needs an update. ABextdraw does it fine but I didn't want to use extra libraries so I use a workaround that uses a bit more memory. Upvote 0
if you think that was just nitpicking I'll show you how bad it looks with my object. right is the bitmap copy one and looks way off. it seems that the .drawBitmap to different rectangle shape needs an update. ABextdraw does it fine but I didn't want to use extra libraries so I use a workaround that uses a bit more memory.
LucaMs Expert Licensed User Longtime User Dec 20, 2014 #3 I do not have much time to try and even to read well, sorry. See if this can help you. Upvote 0
S sorex Expert Licensed User Longtime User Dec 20, 2014 #4 Thanks Luca, Erel's code didn't work but your 2 value as flag does work. I'll keep that in mind when I allow myself to use libraries I wonder why it hasn't been added to the core libs already? As requested in that thread 2 years ago. Upvote 0
Thanks Luca, Erel's code didn't work but your 2 value as flag does work. I'll keep that in mind when I allow myself to use libraries I wonder why it hasn't been added to the core libs already? As requested in that thread 2 years ago.