When using UIImageJPEGRepresentation what number retains full resolution?

1.6k Views Asked by At

Can someone please explain the scale for me (0 to 1)? Which is the best quality/least, and how does that affect file size?

1

There are 1 best solutions below

2
On BEST ANSWER

About scale

The quality of the resulting JPEG image, expressed as a value from 0.0 to 1.0. The value 0.0 represents the maximum compression (or lowest quality) while the value 1.0 represents the least compression (or best quality).