Method and device for compressing image, and electronic device
摘要:
The present disclosure provides a method and a device for compressing an image, and an electronic device. The method includes: acquiring a resolution of the display screen and a resolution of an image to be compressed; detecting whether the resolution of the image to be compressed is greater than the resolution of the display screen; and when the resolution of the image to be compressed is greater than the resolution of the display screen, compressing the resolution of the image to be compressed to a target resolution according to the resolution of the display screen, a difference between the target resolution and the resolution of the display screen being within a preset resolution range.
信息查询
0/0