image - UIImageJPEGRepresentation creates a white bottom bar -



image - UIImageJPEGRepresentation creates a white bottom bar -

i using uiimagejpegrepresentation after capture image avcapturesession , avcapturestillimageoutput. reason when compress images uiimagejpegrepresentation image has lean white line @ bottom of picture. know how prepare this?

the problem resizing image, in doing proportions didn't line there empty pixel row on bottom defaults white because file jpeg. see link below

a lean whiteline been added when resize image

image jpeg avcapturesession uiimagejpegrepresentation

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -