I have this line of code
UIImageJPEGRepresentation(profileImage, 0.8)
and I was wondering if it adjusts the height and width of the image or just the size by decreasing the quality?
I have this line of code
UIImageJPEGRepresentation(profileImage, 0.8)
and I was wondering if it adjusts the height and width of the image or just the size by decreasing the quality?
It just decreases the quality.
Source: UIImageJPEGRepresentation