glidex icon indicating copy to clipboard operation
glidex copied to clipboard

Struggeling to downsample images

Open Pantheas opened this issue 4 years ago • 1 comments

Hi,

I have some thumbnail images in my application that are shown in a list item template. The user is able to select the list item to open a popup with additional information and the full sized image.

The thumbnail images somehow look a little fuzzy, it does not seem like they are downsampled. I tried creating a custom IGlideHandler, but calling .Downsample() or Override(width, height) on the IRequestBuilder does not change anything.

When I tried to create a custom IImageViewHandler I failed getting it running, the LoadImageAsync method is never called, even though I set the ExportImageSourceHandler attribute.

Can you help? What am I doing wrong?

Pantheas avatar Nov 27 '20 11:11 Pantheas

Would you be able to share your images and some example code?

Or better yet, add your example here? Thanks!

https://github.com/jonathanpeppers/glidex/tree/master/glidex.forms.sample

I run through this sample manually before every release, but I could also figure out what is going wrong for you.

jonathanpeppers avatar Nov 30 '20 16:11 jonathanpeppers