N
N
Nikolai2020-12-15 04:35:49
Java
Nikolai, 2020-12-15 04:35:49

Is there a native OS feature to compress images?

There is a bulletin board application on the webview. When publishing a new ad, you need to compress them to reduce loading time and speed up the application (why upload 2600 * 5000 pixels when hd resolution is enough?). How to do it in android studio? Is there something similar for ios?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Cherny, 2020-12-15
@freeg0r

what you are going to compress, all formats are already arranged so that you won’t compress them too much, a maximum of a couple of percent.
You can load and display small resolutions first, and then when large images are loaded, change to them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question