- compressionQuality
- The compression quality to use, 0.0 is the maximum compression (worse quality), and 1.0 minimum compression (best quality)
The encoded image in an NSData wrapper or null if there was an error.
This can be used from a background thread.