¡@

Home 

2014/10/15 ¤U¤È 10:04:52

iphone Programming Glossary: camera

Resizing UIimages pulled from the Camera also ROTATES the UIimage?

http://stackoverflow.com/questions/1260249/resizing-uiimages-pulled-from-the-camera-also-rotates-the-uiimage

UIimages pulled from the Camera also ROTATES the UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600.. UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I then assign to a UIImageView in my Application. The image..

Getting thumbnail from a video url or data in IPhone SDK

http://stackoverflow.com/questions/1347562/getting-thumbnail-from-a-video-url-or-data-in-iphone-sdk

SDK I am trying to acquire a thumbnail of the first frame from a video taken from iphone 3GS camera so i can display it. Anyone been successful at doing this If so how to do iphone video thumbnails ..

How to save picture to iPhone photo library?

http://stackoverflow.com/questions/178915/how-to-save-picture-to-iphone-photo-library

photo library What do I need to do to save an image my program has generated possibly from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this.. from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this question You can use this function UIImageWriteToSavedPhotosAlbum UIImage image..

Core Data - Storing Images (iPhone)

http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone

the user to add an image for their account. I wish to know how to store an image obtained from the camera or photo library using Core Data as I may offer a backup facility for the user and would be looking..

The simplest way to resize an UIImage?

http://stackoverflow.com/questions/2658738/the-simplest-way-to-resize-an-uiimage

simplest way to resize an UIImage In my iPhone app I take a picture with the camera then I want to resize it to 290 390 pixels. I was using this method to resize the image UIImage newImage..

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession..

UIImagePickerController camera preview is portrait in landscape app

http://stackoverflow.com/questions/538041/uiimagepickercontroller-camera-preview-is-portrait-in-landscape-app

camera preview is portrait in landscape app In my landscape only iPhone application I launch a UIImagePickerController.. I launch a UIImagePickerController to take a photo but the live image displayed from the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button.. the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview off screen and views not correctly..

UIImage: Resize, then Crop

http://stackoverflow.com/questions/603907/uiimage-resize-then-crop

conceptual phases of my design that it would be a trivial matter to grab a image from the iPhone's camera or library scale it down to a specified height using a function equivalent to the Aspect Fill option.. then crop off anything that did not fit within a passed CGRect. Getting the original image from camera or library was trivial. I am shocked at how difficult the other two steps have proved to be. The attached..

Access the camera with iPhone SDK

http://stackoverflow.com/questions/74113/access-the-camera-with-iphone-sdk

the camera with iPhone SDK It seems obvious that some people have been able to figure out how to access the iPhone.. SDK It seems obvious that some people have been able to figure out how to access the iPhone camera through the SDK Spore Origins for example but I haven't been able to find any helpful information. I.. does anyone know of any existing official resources that show how this can be done Thanks. iphone camera share improve this question You need to use the UIImagePickerController class basically UIImagePickerController..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

it turns out that the texture cache support added in iOS 5.0 doesn't just work for fast upload of camera frames to OpenGL ES but it can be used in reverse to get quick access to the raw pixels within an OpenGL..

Resizing UIimages pulled from the Camera also ROTATES the UIimage?

http://stackoverflow.com/questions/1260249/resizing-uiimages-pulled-from-the-camera-also-rotates-the-uiimage

UIimages pulled from the Camera also ROTATES the UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I then assign to a UIImageView in my Application... pulled from the Camera also ROTATES the UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I then assign to a UIImageView in my Application. The image is displayed as expected in the image view under this condition...

Getting thumbnail from a video url or data in IPhone SDK

http://stackoverflow.com/questions/1347562/getting-thumbnail-from-a-video-url-or-data-in-iphone-sdk

thumbnail from a video url or data in IPhone SDK I am trying to acquire a thumbnail of the first frame from a video taken from iphone 3GS camera so i can display it. Anyone been successful at doing this If so how to do iphone video thumbnails share improve this question The answer to this question is..

How to save picture to iPhone photo library?

http://stackoverflow.com/questions/178915/how-to-save-picture-to-iphone-photo-library

to save picture to iPhone photo library What do I need to do to save an image my program has generated possibly from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this question You can use this function UIImageWriteToSavedPhotosAlbum.. do I need to do to save an image my program has generated possibly from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this question You can use this function UIImageWriteToSavedPhotosAlbum UIImage image id completionTarget SEL completionSelector void contextInfo..

Core Data - Storing Images (iPhone)

http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone

Storing Images iPhone I have an application where I allow the user to add an image for their account. I wish to know how to store an image obtained from the camera or photo library using Core Data as I may offer a backup facility for the user and would be looking to transfer the image data to a server. I have come across the..

The simplest way to resize an UIImage?

http://stackoverflow.com/questions/2658738/the-simplest-way-to-resize-an-uiimage

simplest way to resize an UIImage In my iPhone app I take a picture with the camera then I want to resize it to 290 390 pixels. I was using this method to resize the image UIImage newImage image _imageScaledToSize CGSizeMake 290 390 interpolationQuality..

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

on torch flash on iPhone 4 I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession captureSession AVCaptureSession alloc init AVCaptureDevice..

UIImagePickerController camera preview is portrait in landscape app

http://stackoverflow.com/questions/538041/uiimagepickercontroller-camera-preview-is-portrait-in-landscape-app

camera preview is portrait in landscape app In my landscape only iPhone application I launch a UIImagePickerController to take a photo but the live image displayed from.. is portrait in landscape app In my landscape only iPhone application I launch a UIImagePickerController to take a photo but the live image displayed from the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview.. to take a photo but the live image displayed from the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview off screen and views not correctly aligned. Apple has acknowledged that this is defect and..

UIImage: Resize, then Crop

http://stackoverflow.com/questions/603907/uiimage-resize-then-crop

cannot achieve my goal. I thought ahead of time in the conceptual phases of my design that it would be a trivial matter to grab a image from the iPhone's camera or library scale it down to a specified height using a function equivalent to the Aspect Fill option of UIImageView entirely in code and then crop off anything.. to the Aspect Fill option of UIImageView entirely in code and then crop off anything that did not fit within a passed CGRect. Getting the original image from camera or library was trivial. I am shocked at how difficult the other two steps have proved to be. The attached image shows what I am trying to achieve. Would someone..

Access the camera with iPhone SDK

http://stackoverflow.com/questions/74113/access-the-camera-with-iphone-sdk

the camera with iPhone SDK It seems obvious that some people have been able to figure out how to access the iPhone camera through the SDK Spore Origins for example but I.. the camera with iPhone SDK It seems obvious that some people have been able to figure out how to access the iPhone camera through the SDK Spore Origins for example but I haven't been able to find any helpful information. I don't want anyone to violate their NDA but does anyone know.. information. I don't want anyone to violate their NDA but does anyone know of any existing official resources that show how this can be done Thanks. iphone camera share improve this question You need to use the UIImagePickerController class basically UIImagePickerController picker UIImagePickerController alloc init picker.delegate..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

to grab data from OpenGL ES. It isn't readily apparent but it turns out that the texture cache support added in iOS 5.0 doesn't just work for fast upload of camera frames to OpenGL ES but it can be used in reverse to get quick access to the raw pixels within an OpenGL ES texture. You can take advantage of this to grab the..

Resizing UIimages pulled from the Camera also ROTATES the UIimage?

http://stackoverflow.com/questions/1260249/resizing-uiimages-pulled-from-the-camera-also-rotates-the-uiimage

UIimages pulled from the Camera also ROTATES the UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I.. UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When I do this the camera gives me a 1200 x 1600 pixel image which I then assign to a UIImageView in my Application. The image is displayed as expected..

Getting thumbnail from a video url or data in IPhone SDK

http://stackoverflow.com/questions/1347562/getting-thumbnail-from-a-video-url-or-data-in-iphone-sdk

url or data in IPhone SDK I am trying to acquire a thumbnail of the first frame from a video taken from iphone 3GS camera so i can display it. Anyone been successful at doing this If so how to do iphone video thumbnails share improve this..

How to save picture to iPhone photo library?

http://stackoverflow.com/questions/178915/how-to-save-picture-to-iphone-photo-library

save picture to iPhone photo library What do I need to do to save an image my program has generated possibly from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this question You can.. has generated possibly from the camera possibly not to the system photo library on the iPhone iphone cocoa touch camera share improve this question You can use this function UIImageWriteToSavedPhotosAlbum UIImage image id completionTarget..

Core Data - Storing Images (iPhone)

http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone

where I allow the user to add an image for their account. I wish to know how to store an image obtained from the camera or photo library using Core Data as I may offer a backup facility for the user and would be looking to transfer the image..

The simplest way to resize an UIImage?

http://stackoverflow.com/questions/2658738/the-simplest-way-to-resize-an-uiimage

simplest way to resize an UIImage In my iPhone app I take a picture with the camera then I want to resize it to 290 390 pixels. I was using this method to resize the image UIImage newImage image _imageScaledToSize..

Turn on torch/flash on iPhone 4

http://stackoverflow.com/questions/3190034/turn-on-torch-flash-on-iphone-4

flash on iPhone 4 I know that the only way to turn on the flash and keep it on on iPhone 4 is by turning the video camera on. I'm not too sure of the code though. Here is what I am trying IBAction turnTorchOn AVCaptureSession captureSession AVCaptureSession..

UIImagePickerController camera preview is portrait in landscape app

http://stackoverflow.com/questions/538041/uiimagepickercontroller-camera-preview-is-portrait-in-landscape-app

camera preview is portrait in landscape app In my landscape only iPhone application I launch a UIImagePickerController to take.. only iPhone application I launch a UIImagePickerController to take a photo but the live image displayed from the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview.. image displayed from the camera is in portrait orientation with blank space around it. The image is rotated. Once the camera button is pressed the preview is very messy with most of the preview off screen and views not correctly aligned. Apple has..

UIImage: Resize, then Crop

http://stackoverflow.com/questions/603907/uiimage-resize-then-crop

of time in the conceptual phases of my design that it would be a trivial matter to grab a image from the iPhone's camera or library scale it down to a specified height using a function equivalent to the Aspect Fill option of UIImageView entirely.. entirely in code and then crop off anything that did not fit within a passed CGRect. Getting the original image from camera or library was trivial. I am shocked at how difficult the other two steps have proved to be. The attached image shows what..

Access the camera with iPhone SDK

http://stackoverflow.com/questions/74113/access-the-camera-with-iphone-sdk

the camera with iPhone SDK It seems obvious that some people have been able to figure out how to access the iPhone camera through.. the camera with iPhone SDK It seems obvious that some people have been able to figure out how to access the iPhone camera through the SDK Spore Origins for example but I haven't been able to find any helpful information. I don't want anyone to.. their NDA but does anyone know of any existing official resources that show how this can be done Thanks. iphone camera share improve this question You need to use the UIImagePickerController class basically UIImagePickerController picker..

Faster alternative to glReadPixels in iPhone OpenGL ES 2.0

http://stackoverflow.com/questions/9550297/faster-alternative-to-glreadpixels-in-iphone-opengl-es-2-0

readily apparent but it turns out that the texture cache support added in iOS 5.0 doesn't just work for fast upload of camera frames to OpenGL ES but it can be used in reverse to get quick access to the raw pixels within an OpenGL ES texture. You..

iPhone: Camera Preview Overlay

http://stackoverflow.com/questions/1001347/iphone-camera-preview-overlay

Camera Preview Overlay how do I add an overlay UIImageView to the camera preview and handle touches on this My previous attempts..

Resizing UIimages pulled from the Camera also ROTATES the UIimage?

http://stackoverflow.com/questions/1260249/resizing-uiimages-pulled-from-the-camera-also-rotates-the-uiimage

UIimages pulled from the Camera also ROTATES the UIimage I am getting UIimages from the camera and assigning them to UIImageViews to be displayed. When.. appears stretched as the aspect ratio 1200 x 1600 pixels was unchanged... I am using this to get a UIImage from the Camera void imagePickerController UIImagePickerController picker didFinishPickingMediaWithInfo NSDictionary info myImg info objectForKey.. ref CGContextRelease bitmap CGImageRelease ref return result QUESTION How do I RESIZE a UIImage pulled from the Camera WITHOUT rotating the pixels iphone uiimageview uiimage uiimagepickercontroller share improve this question The reason..

iPod touch for iPhone development

http://stackoverflow.com/questions/134048/ipod-touch-for-iphone-development

share improve this question The iPod touch is missing GPS Bluetooth iPod Touch 4G has Bluetooth Cellular network Camera iPod Touch 4G has front and back cameras Microphone thanks John Topley iPod Touch 4G has headset with microphone Vibration..

Saving image to Documents directory and retrieving for email attachment

http://stackoverflow.com/questions/2037432/saving-image-to-documents-directory-and-retrieving-for-email-attachment

directory and retrieving for email attachment I having trouble figuring out NSBundle DocumentDirectory data I have a Camera Picture imageView that I'm saving to the NSDocumentDirectoy and then want to retrieve it for attaching to an email Here..

Is there a good tutorial for implementing an augmented reality iPhone application? [closed]

http://stackoverflow.com/questions/2084327/is-there-a-good-tutorial-for-implementing-an-augmented-reality-iphone-applicatio

and camera frameworks for the iPhone and go from there. Basically you will create a UIImagePickerController the Camera class and overlay information on the view via a custom .cameraOverlayView which is a property of UIImagePickerController..

UIImage Saving image with file name on the iPhone

http://stackoverflow.com/questions/2264039/uiimage-saving-image-with-file-name-on-the-iphone

UIImage img method NSData imageData UIImageJPEGRepresentation img 1.0 save to the default 100Apple Camera Roll folder. imageData writeToFile @ private var mobile Media DCIM 100APPLE customImageFilename.jpg atomically NO share..

Hide/Show iPhone Camera Iris/Shutter animation

http://stackoverflow.com/questions/3138502/hide-show-iphone-camera-iris-shutter-animation

Show iPhone Camera Iris Shutter animation I am not able to Hide the iphone Camera shutter opening animation for my app. I am using UIImagePickerController.. Show iPhone Camera Iris Shutter animation I am not able to Hide the iphone Camera shutter opening animation for my app. I am using UIImagePickerController to access iphone camera and using my own overlay.. sure if it is valid for App Store commitment. However the NSLogs are used to figure out which subview is the actual Camera Preview which turns out to be the PLPreviewView. uncomment to se the printouts . Change it's size to fit the entire screen..

iPhone 4 Camera Specifications - Field of View / Vertical-Horizontal Angle

http://stackoverflow.com/questions/3594199/iphone-4-camera-specifications-field-of-view-vertical-horizontal-angle

4 Camera Specifications Field of View Vertical Horizontal Angle Does someone know the field of view values for the new iPhone4 camera..

What's the best way of live streaming iphone camera to a media server?

http://stackoverflow.com/questions/4474871/whats-the-best-way-of-live-streaming-iphone-camera-to-a-media-server

live streaming iphone camera to a media server According to this What Techniques Are Best To Live Stream iPhone Video Camera Data To a Computer is possible to get compressed data from iphone camera but as I've been reading in the AVFoundation reference..

how to detect (iphone sdk) if a video file was recorded in portrait orientation, or landscape

http://stackoverflow.com/questions/4627940/how-to-detect-iphone-sdk-if-a-video-file-was-recorded-in-portrait-orientation

portrait orientation or landscape I am using AlAssetsGroup enumerateAssetsAtIndexes to list the assets in the Photos Camera app. For a given video asset I want to determine whether it was shot in portrait or landscape mode. In the following code..

iPhone:Programmatically find the count of videos and images from photo album?

http://stackoverflow.com/questions/5403771/iphoneprogrammatically-find-the-count-of-videos-and-images-from-photo-album

album I am developing app on iOS 4.3 SDK. I would like to know how to find how many images and videos are there in Camera photo library album. Is it possible to programmatically find a way to know the count of videos and images there in photo..

How to take picture from Camera & saved in Photo Gallery by programmatically?

http://stackoverflow.com/questions/6812634/how-to-take-picture-from-camera-saved-in-photo-gallery-by-programmatically

to take picture from Camera saved in Photo Gallery by programmatically In iPhone Apps I want to take pictures from Camera save into Photo Gallery by.. to take picture from Camera saved in Photo Gallery by programmatically In iPhone Apps I want to take pictures from Camera save into Photo Gallery by programmatically. Is it possible in iPhone Simulator so please tell me any link or materials.. Then pull up the camera if UIImagePickerController isSourceTypeAvailable UIImagePickerControllerSourceTypeCamera NSArray media UIImagePickerController availableMediaTypesForSourceType UIImagePickerControllerSourceTypeCamera if media..

iOS crash log catch, debug info.. Catch and send via email to the Dev team

http://stackoverflow.com/questions/8233388/ios-crash-log-catch-debug-info-catch-and-send-via-email-to-the-dev-team

to view some crash reports too but it takes up to 2 weeks to see some but by far not all as e.g. pointed out by the Camera developers . So you better use your own solution. PLCrashReporter will send you standard apple formatted crash reports ready..

iOS development on Windows [duplicate]

http://stackoverflow.com/questions/9595507/ios-development-on-windows

it by pressing one of the keys plus the left click Creating Web Apps would be a solution I know that we can't use the Camera of the device using Javascript but is the rest ok . Testing Some of our co workers have iTouchs but we don't know if the..