Размер фотографии перед отправкой выше чем после
The application has the ability to take a photo and upload it to the server. When using the main camera, there are no problems. When using the front one, the size and quality of the photo before sending is much lower than after. For example:
frontal: original on the device: 365 kb, 1600 by 1200 px, received on the server: 137 kb, 480 by 618 px.
main: original on the device: 1 mb, 2560 by 1440 px, came to the server: 2.3 mb, 1392 by 2576 px.
That is, somehow the size and quality is reduced....