Reducing the file size of a very large images, without changing the image dimensions

后端 未结 12 2131
囚心锁ツ
囚心锁ツ 2021-01-31 08:51

Consider an application handling uploading of potentially very large PNG files.

All uploaded files must be stored to disk for later retrieval. However, the PNG files ca

12条回答
  •  野的像风
    2021-01-31 09:14

    Since the size of an image file is directly related to the image dimensions and the number of colours, you seem to have only one choice: reduce the number of colours.

    And ~30MB down to 1MB is a very large reduction.

    It would be difficult to achieve this ratio with a conversion to monochrome.

提交回复
热议问题