is there a way on iPhone to reduce image bit-depth. I'm trying to reduce the image size to less than 1 MB but I don't want change the image width and height. so reducing the image resolution might be the correct way to do that. Anyone know how to do that using swift?
Asked
Active
Viewed 435 times
2
-
Please read this answer https://stackoverflow.com/a/29726675/3420996 – Natarajan Nov 08 '18 at 07:26
-
This example is using JPEG but I need to do that with PNG image so I do not lose transparency area – Ahmad Nov 08 '18 at 07:58
-
Did you find a way to do it? – Roma Kavinskyi Oct 14 '22 at 10:35