I am using UIImageJPEGRepresentation
after I capture an image with AVCaptureSession
and AVCaptureStillImageOutput
. For some reason when I compress my images with UIImageJPEGRepresentation
the image has a thin white line at the bottom of the picture. Does anybody know how to fix this?
Asked
Active
Viewed 303 times
1

JasonMArcher
- 14,195
- 22
- 56
- 52

Blane Townsend
- 2,888
- 5
- 41
- 55
1 Answers
0
The problem was actually that I was resizing my image, but in doing so the proportions didn't line up so there is an empty pixel row on the bottom that defaults to white because the file is a jpeg. See the link below

Community
- 1
- 1

Blane Townsend
- 2,888
- 5
- 41
- 55