How to reduce the quality of image before rendering?

Hi, i am facing memory issue due to high quality images coming from API, is there any way to reduce the quality of images before rendering them?
So, when we scroll through the trays and item in the tray the app crashes.
Any help would be much appreciable

Your best option is to run images through some kind of image resizing service, to downsize them before they reach the device.

If you run on the Metrological store, such an image server comes included as a service, linked with the Image plugin from the SDK. Please reach out to Metrological support for more on that.

The Lightning team is also working on an advanced image server, and we plan to open source that, so you can run it yourself. I have no ETA on when this will become available. But it won’t be short term.

1 Like