UIImageJPEGRepresentation giving EXC_BAD_ACCESS
In my app I am using the camera and photo library to get an UIImage,  
this UIImage is then scaled down about 20 times its normal size 
I then set a NSData object based off the UIImage.

NSData *image1Data = UIImageJPEGRepresentation(_regularImage, 1);

I cant seem to figure anything else out that might cause this
 
Thank you 

LittleRy
UIImageJPEGRepresentation giving EXC_BAD_ACCESS
===

In my app I am using the camera and photo library to get an UIImage,  
this UIImage is then scaled down about 20 times its normal size 
I then set a NSData object based off the UIImage.

NSData *image1Data = UIImageJPEGRepresentation(_regularImage, 1);

I cant seem to figure anything else out that might cause this
 
Thank you 

LittleRy