Top "Uiimagepngrepresentation" questions

Use this tag for questions related to UIImagePNGRepresentation.

UIImagePNGRepresentation issues? / Images rotated by 90 degrees

I want to load images from UIImagePickerController, then save the selected photo to my app's document directory. UIImage *image = [info …

iphone cocoa-touch uiimagepngrepresentation
Convert UIImage to NSData without using UIImagePngrepresentation or UIImageJpegRepresentation

I Need to convert UIImage to NSData but without using UIImagePngRepresentation or UIImageJpegRepresentation, for images from photolib i can use …

ios uiimage nsdata assets uiimagepngrepresentation
Sending and receiving imagepng output via json encode AJAX

I created a PNG image using PHP GD Library, added some text based on user input, and instead of saving …

php ajax json uiimagepngrepresentation
Convert UIImage to base64 string in swift

I'm trying to convert a UIImage to a base64 string with the goal of uploading it to a back-end server. …

ios swift uiimage base64 uiimagepngrepresentation
UIImagePNGRepresentation(UIImage()) returns nil

Why does UIImagePNGRepresentation(UIImage()) returns nil? I'm trying to create a UIImage() in my test code just to assert that …

swift uiimage uiimagepngrepresentation
NSImage to NSData as PNG Swift

I am writing a Mac app based on an iOS app. The code below converts a UIImage to NSData to …

parse-platform uiimage nsdata nsimage uiimagepngrepresentation
how to know this image is jpg or png iphone

i will like to pick an images from UIImagepicker, there are PNG and JPG format in camera roll. and i …

iphone ios xcode uiimagejpegrepresentation uiimagepngrepresentation
How to compress image size using UIImagePNGRepresentation - iOS?

I'm using UIImagePNGRepresentation to save an image. The result image is of size 30+ KB and this is BIG in my …

ios objective-c uiimage uiimagejpegrepresentation uiimagepngrepresentation