Questions tagged [photos]

A photo is a picture of some real world scene captured by a mechanical or electronical device.

A photo is a picture of some real world scene captured by a mechanical or electronical device.

See also:

701 questions
55
votes
13 answers

Get last image from Photos.app?

I have seen other apps do it where you can import the last photo from the Photos app for quick use but as far as I know, I only know how to get A image and not the last (most recent one). Can anyone show me how to get the last image?
SimplyKiwi
  • 12,376
  • 22
  • 105
  • 191
39
votes
6 answers

How to get large photo URL in one API call?

I want to display large photos in my Facebook app's feed view immediately. Is it possible to get the large photo src URL from a stream/feed using one API call? The photo id is returned in the stream/feed and one can of course then supply this…
John Wright
  • 2,418
  • 4
  • 29
  • 34
18
votes
2 answers

How to pull photos with ADB from local storage - android device

i have some problems with my Asus Zenfone 2 device (no root). In particular, some days ago, while i was travelling abroad, my device decided to no more turn on, staying permanently in the loading ASUS screen. Before doing the hard reset, i want to…
zzari
  • 283
  • 1
  • 5
  • 13
18
votes
3 answers

Photos framework image from video at a certain frame

I have made a library collectionview filled with videos i fetch from the Photos framework, i use thumbnails to display all the different videos using the following method func requestImageForAsset(_ asset: PHAsset!, targetSize targetSize: CGSize,…
Andy Jacobs
  • 15,187
  • 13
  • 60
  • 91
17
votes
6 answers

How to display my photo albums and photos that are in FB on my own website

I would like to display my photo albums and photos that are in FB on my own website. However everything I have tried requires an access token that I seem to only get if I login to FB. I don't want visitors to my site to have to login to FB to see my…
ananth
  • 173
  • 1
  • 1
  • 4
15
votes
4 answers

How to retrieve PHAsset from UIImagePickerController

I'm trying to retrieve a PHAsset however PHAsset.fetchAssets(withALAssetURLs:options:) is deprecated from iOS 8 so how can I properly retrieve a PHAsset?
Peter Warbo
  • 11,136
  • 14
  • 98
  • 193
15
votes
5 answers

Photo stitching/panorama API/DLL/Library anyone?

For a special project, I need to find an API/DLL/Library to help me create a big image using parts of this image. For example, if someone take 4 pictures representing the 360 degrees around him, he will be able to create one big image (panorama) by…
Jean-François Côté
  • 4,200
  • 11
  • 52
  • 88
15
votes
6 answers

How to properly detect a PHAsset's file type (GIF)

I have no idea why this is so difficult. I'm trying to determine the file type of a PHAsset, specifically, I want to know if a given asset represents a GIF image or not. Simply inspecting the asset's filename tells me it's an MP4: [asset…
mitchtreece
  • 181
  • 1
  • 2
  • 7
13
votes
4 answers

Facebook Graph API - Get like count on page/group photos

I've been testing graph API and ran into a problem. How can I get like count from photos of a page/group? I'm administrator/creator of a group. When entering in https://developers.facebook.com/tools/explorer/ certain photo ID from that group it…
JackLeo
  • 4,579
  • 9
  • 40
  • 66
12
votes
2 answers

Android Camera - How can i take a specific "rectangle" from the byte array?

I have created an application that shoots and saves photos. I have a preview and an overlay on top of that preview. The overlay defines a square (the area around the square shows the preview a bit darker), as you can see in the image: example What i…
Eyal
  • 1,748
  • 2
  • 17
  • 31
12
votes
1 answer

How to update the timestamp on a photo or add the time zone on Google+ Photos?

Using Picasa Web API I retrieve a photo from my Google+ photo album and attempt to change the timestamp (the time was wrong on my phone, so trying to fix it): var service = new…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
11
votes
3 answers

Programmatic access to the Photos Library on Mac OS X: PhotoKit / Photos Framework for Mac

In Objective-C, there's a Photos Framework a.k.a. PhotoKit which enables iOS developers to access the photos library on iPhone and iPad and to retrieve the pictures/videos along with their metadata. How would Mac developers perform a similar task?…
Pierre F
  • 1,332
  • 15
  • 33
11
votes
1 answer

Why does my PHFetchResultChangeDetails have changedIndexes, when all I did was insert at the end?

I'm writing an iOS8 app using the Photos framework. I'm really loving PHFetchResultChangeDetails. But there is something I don't understand: when I save new photos to the camera roll using the following code, then I get back insertions AND changes.…
xaphod
  • 6,392
  • 2
  • 37
  • 45
11
votes
10 answers

Where should I store photos? File system or the database?

Possible Duplicate: storing uploaded photos and documents - filesystem vs database blob I am starting to develop a web app, the primary purpose of which is to display photos. The users will be able to upload photos as well. The first question…
AngryHacker
  • 59,598
  • 102
  • 325
  • 594
11
votes
6 answers

storing uploaded photos and documents - filesystem vs database blob

My specific situation Property management web site where users can upload photos and lease documents. For every apartment unit, there might be 4 photos, so there won't be an overwhelming number of photo in the system. For photos, there will be…
resopollution
  • 19,600
  • 10
  • 40
  • 49
1
2 3
46 47