When using UIImageJPEGRepresentation what number retains full resolution?

1.5k 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 answers

2
Leo 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).