iphone Programming Glossary: captured
iOS: Get pixel-by-pixel data from camera http://stackoverflow.com/questions/10865100/ios-get-pixel-by-pixel-data-from-camera camera avfoundation pixel share improve this question AV Foundation can give you back the raw bytes for an image captured by either the video or still camera. You need to set up an AVCaptureSession with an appropriate AVCaptureDevice and a corresponding..
How to get a rotated, zoomed and panned image from an UIImageView at its full resolution? http://stackoverflow.com/questions/11104042/how-to-get-a-rotated-zoomed-and-panned-image-from-an-uiimageview-at-its-full-re method can output really large images when you've zoomed out very much. If you have zoomed out the background of the captured image will be black. If you want it to be transparent you must set the opaque parameter of UIGraphicsBeginImageContextWithOptions..
How do you add more than one UIBarButton on UINavigationItem.rightBarButtonItem (or leftBarButtonItem)? http://stackoverflow.com/questions/1414510/how-do-you-add-more-than-one-uibarbutton-on-uinavigationitem-rightbarbuttonitem The problem is this leaves a faint seam. I tried setting the background image of the nested toolbar to an image I captured of what it should be. That didn't work. The image was not applied. I have also tried using a nested UINavigationBar and..
Upload live streaming video from iPhone like Ustream or Qik http://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik imageSize CVImageBufferGetEncodedSize imageBuffer also in the 'mediaSpecific' dict of the sampleBuffer NSLog @ frame captured at .fx .f imageSize.width imageSize.height EDIT UPDATE Several people have asked how to do this without sending the frames..
MFMailComposeViewController image orientation http://stackoverflow.com/questions/20204495/mfmailcomposeviewcontroller-image-orientation way as 3264 wide and 2448 high. A UIImage has a property which describes its orientation at the time the image was captured and you can get it like this UIImageOrientation orient image.imageOrientation Note that the orientation property does not.. the UIImage is physically configured as as 3264w x 2448h it only describes its orientation at the time the image was captured. The property ™s use is to tell software which is about to display the image how to rotate it so it will appear correctly... the data is physically stored vs. how the orientation property is used to describe its orientation at the time it was captured things begin to get clearer. I created a few lines of debugging code to ˜see all of this. Here ™s the imagePickerController..
how to convert a CVImageBufferRef to UIImage http://stackoverflow.com/questions/3152259/how-to-convert-a-cvimagebufferref-to-uiimage displayed correctly UIImage image UIImage imageWithCGImage newImage scale 1.0 orientation UIImageOrientationRight self.capturedView.image image We relase the CGImageRef CGImageRelease newImage the code seems to work fine up until the call to CGBitmapContextCreate... do what you're attempting to do here probably the easiest thing to do would be specify that you want the video frames captured in kCVPixelFormatType_32RGBA . Apple recommends that you capture the video frames in kCVPixelFormatType_32BGRA if you capture..
Access metadata (exif tags) of image taken by UIImagePickerController - iOS/iPhone http://stackoverflow.com/questions/3991673/access-metadata-exif-tags-of-image-taken-by-uiimagepickercontroller-ios-ipho exif tags of image taken by UIImagePickerController iOS iPhone Is it possible to access the metadata of an image captured by UIImagePickerController in iOS I understand this can be done with AssetLibrary framework for images captured by the camera.. image captured by UIImagePickerController in iOS I understand this can be done with AssetLibrary framework for images captured by the camera application or otherwise present in the iPhone photo library but can a developer access any of the metadata..
how to add watermark on a exist image http://stackoverflow.com/questions/4068035/how-to-add-watermark-on-a-exist-image in advanced again I found some code as follows UIGraphicsBeginImageContext CGSizeMake 320 480 This is where we resize captured image UIImage info objectForKey UIImagePickerControllerOriginalImage drawInRect CGRectMake 0 0 320 480 And add the watermark..
How to get matches in iOS using regular expression? http://stackoverflow.com/questions/4184845/how-to-get-matches-in-ios-using-regular-expression
Uploading live streaming video from iPhone [duplicate] http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone imageSize CVImageBufferGetEncodedSize imageBuffer also in the 'mediaSpecific' dict of the sampleBuffer NSLog @ frame captured at .fx .f imageSize.width imageSize.height EDIT UPDATE Several people have asked how to do this without sending the frames..
Problem setting exif data for an image http://stackoverflow.com/questions/5125323/problem-setting-exif-data-for-an-image and GPS data. It pretty much a copy and paste of the code from the above blog. I am using this to write exif data to a captured image. NSData jpeg AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageDataSampleBuffer CGImageSourceRef source..
iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio setSampleBufferDelegate self queue dispatch_get_main_queue captureSession addOutput videoOutput 5 As video frames are captured the delegate's method is called with each new frame as a CVImageBuffer void captureOutput AVCaptureOutput captureOutput..
Save An Image To Application Documents Folder From UIView On IOS http://stackoverflow.com/questions/6821517/save-an-image-to-application-documents-folder-from-uiview-on-ios write the images to files. NSData pngData UIImagePNGRepresentation image This pulls out PNG data of the image you've captured. From here you can write it to a file NSArray paths NSSearchPathForDirectoriesInDomains NSDocumentDirectory NSUserDomainMask..
How to protect app IPA from hacks if reverse engineering is possible http://stackoverflow.com/questions/6939222/how-to-protect-app-ipa-from-hacks-if-reverse-engineering-is-possible then your whole approach and your clients API is inherently insecure. Remember that such information could possibly be captured by a man in the middle attack and other modes of attack as well. Avoid security by obscurity. Store sensitive data only..
iPhone Watermark on recorded Video. http://stackoverflow.com/questions/7205820/iphone-watermark-on-recorded-video this question Use AVFoundation . I would suggest grabbing frames with AVCaptureVideoDataOutput then overlaying the captured frame with the watermark image and finally writing captured and processed frames to a file user AVAssetWriter . Search around.. frames with AVCaptureVideoDataOutput then overlaying the captured frame with the watermark image and finally writing captured and processed frames to a file user AVAssetWriter . Search around stack overflow there are a ton of fantastic examples detailing..
|