photos

Creating a photo collage image as attached using PHP from several images

放肆的年华 提交于 2019-12-09 06:54:50
问题 How can i create a collage from a large number of images as per below using PHP scripts? I am also looking at creating different sizes A0, A1, A2 sized images depending on the number of pictures used in the collage. Thanks 回答1: I suggest using Imagemagick. There are some excellent tutorials on Mikko's blog: http://valokuva.org/?cat=1 Take a look at the Polaroid example, here: http://valokuva.org/?p=37 The Reflection tutorial demonstrates how to create composite images: http://valokuva.org/?p

IOS Photos framework

▼魔方 西西 提交于 2019-12-08 15:58:10
问题 I want to retrieve all the photos from all the local albums on the device. Basically all the photos that are on the device Will the list of local identifiers be unique ? What is the best approach for this using the photos framework. My question is not duplicate since the other question talks about also cloud assets and assets that are not on the device. When retrieving actual data of the image it returns null data when trying to fetch synchronize. 回答1: I want to retrieve all the photos from

Get GPS location from MLMediaObject on OS X

早过忘川 提交于 2019-12-08 12:44:06
问题 I'm getting started with the Media Library Framework on OS X, specifically with regard to accessing a user's Photos library. After a lot of wrangling I was able to get access to each photo as a MLMediaObject, but now I've hit a roadblock: How can I access the GPS location of the photo, from the MLMediaObject? This sort of information is easy to get from the old ALAssetsLibrary system, or from the Photos Framework on iOS, using a CLLocation property associated with the media object, but I can

How to get a specific size album photo

陌路散爱 提交于 2019-12-08 02:12:01
问题 I can retrieve the list of photos of an album just fine and yes there are different sizes in the photos array returned, my question however is: is there any way to specify the dimensions of the image you want to return. Array returned from /photos call [id] => COVER PHOTO ID [from] => Array( [name] => FB_USER NAME [id] => FB_USER ID ) [name] => PHOTO NAME [picture] => https://photos-b.xx.fbcdn.net/hphotos-ash4/xxxxxxxxxxxx_s.jpg [source] => https://sphotos-b.xx.fbcdn.net/hphotos-ash4/s720x720

How do I use [camera takePhoto] and edit using UIImagePicker - UIImagePickerController.allowsEditing = YES

南笙酒味 提交于 2019-12-06 15:42:44
I'm going to feel dumb but I've searched everywhere and have not found an answer. I've been able to pull up the "edit" view using the default camera's controls. However I threw an overlay on it and I have a UIButton hooked up to IBAction take photo which looks like [UIImagePickerController takePicture]. However, it totally skips the editing part even though I set allows editing to YES. Is there another command to call it? Right now, it just goes straight to didFinishPickingMediaWithInfo. camera.sourceType = UIImagePickerControllerSourceTypeCamera; camera.cameraDevice =

android: how to add an image to an album

两盒软妹~` 提交于 2019-12-06 11:47:50
问题 Can anyone share code (or point me to Android sample code) to help me add images to an album in the Media Store (Gallery). In my app I download images from our server, and also take new images using the camera (via Intent). I would like to organize those images in an app-specific album, similar to what the Facebook (and other apps) app does, keeping related images all neatly organized. I looked into this a while ago, following the Media Store API docs, and it didn't work for me....so need

Programatically upload pictures on Instagram workaround [closed]

末鹿安然 提交于 2019-12-06 10:44:41
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . How do services like posts.so, gramblr and picturelife post pictures on Instagram programatically? I know the Instagram API is limited and doesn't let you do this, but is there a workaround? There must be since all these services are doing it. Links to the services: https://posts.so

How to get a specific size album photo

邮差的信 提交于 2019-12-06 05:35:47
I can retrieve the list of photos of an album just fine and yes there are different sizes in the photos array returned, my question however is: is there any way to specify the dimensions of the image you want to return. Array returned from /photos call [id] => COVER PHOTO ID [from] => Array( [name] => FB_USER NAME [id] => FB_USER ID ) [name] => PHOTO NAME [picture] => https://photos-b.xx.fbcdn.net/hphotos-ash4/xxxxxxxxxxxx_s.jpg [source] => https://sphotos-b.xx.fbcdn.net/hphotos-ash4/s720x720/xxxxxxxxxxxx_n.jpg [height] => 540 [width] => 720 [images] => Array( [0] => Array( [height] => 1224

IOS8. Photos application bug?

丶灬走出姿态 提交于 2019-12-06 05:17:34
When I use filters in standard Photos application in IOS8, I can't get full metadata. I try two methods fetch metadata: [manager requestImageDataForAsset:asset options:options resultHandler:^(NSData *imageData, NSString *dataUTI, UIImageOrientation orientation, NSDictionary *info) { CIImage *ciimage = [CIImage imageWithData:imageData]; NSMutableDictionary *exif = [NSMutableDictionary dictionary]; [exif addEntriesFromDictionary:ciimage.properties]; }]; [asset requestContentEditingInputWithOptions:editOptions completionHandler:^(PHContentEditingInput *contentEditingInput, NSDictionary *info) {

Uploading photos to Facebook: Adding parameters before executing the newUploadPhotoRequest call gives the 'OAuthException' error

我怕爱的太早我们不能终老 提交于 2019-12-06 05:09:22
问题 Summary: Trying to post an image, and description on Facebook. If the image URL is null, I use a local drawable default image to upload to photos. To upload the local image, I am using the following code: My code: Request.Callback uploadPhotoRequestCallback = new Request.Callback() { @Override public void onCompleted(Response response) { if (response.getError() != null) { //post error } else{ String uploadResponse = (String) response.getGraphObject().getProperty("id"); if (uploadResponse is