All Projects → Kjuly → Alassetslibrary Customphotoalbum

Kjuly / Alassetslibrary Customphotoalbum

Licence: mit
A nice ALAssetsLibrary category for saving images & videos into custom photo album.

Projects that are alternatives of or similar to Alassetslibrary Customphotoalbum

google-photos-upload
Upload a local image directory into an Album in Google Photos (works on mac/pc/linux). Coded in C# .NET Core 3.0
Stars: ✭ 26 (-93.7%)
Mutual labels:  photos, album
Photobak
Back up your content from Google Photos - DEPRECATED: use Timeliner
Stars: ✭ 304 (-26.39%)
Mutual labels:  photos, album
Imagestore
Open source google photos alternative!
Stars: ✭ 429 (+3.87%)
Mutual labels:  photos, album
Hexo Album
add album&photos with Hexo blog
Stars: ✭ 85 (-79.42%)
Mutual labels:  photos, album
Facebook-Album-Browser
jQuery plugin for browsing public albums of a Facebook account
Stars: ✭ 76 (-81.6%)
Mutual labels:  photos, album
myphotoshare
MOVED TO GITLAB! --- A Web 2.0 Photo Gallery Done Right via Static JSON, Dynamic Javascript and a bit of php for sharing
Stars: ✭ 12 (-97.09%)
Mutual labels:  photos, album
Lpalbum
an albums that can preview, multiple-choice
Stars: ✭ 17 (-95.88%)
Mutual labels:  photos, album
google-photos-vue
Google Photos album viewer built with Vue.js
Stars: ✭ 17 (-95.88%)
Mutual labels:  photos, album
photo-dl
A photo album downloader
Stars: ✭ 44 (-89.35%)
Mutual labels:  photos, album
Faceaware
An extension that gives UIImageView the ability to focus on faces within an image.
Stars: ✭ 3,004 (+627.36%)
Mutual labels:  photos
Magicalcamera
A library to take picture easy, transform your data in different format and save photos in your device
Stars: ✭ 327 (-20.82%)
Mutual labels:  photos
Focus Points
Plugin for Lightroom to show which focus point was active in the camera when a photo was taken
Stars: ✭ 272 (-34.14%)
Mutual labels:  photos
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (-30.99%)
Mutual labels:  photos
Unsplash Php
👻 Official PHP wrapper for the Unsplash API
Stars: ✭ 332 (-19.61%)
Mutual labels:  photos
Android Camera2 Secret Picture Taker
Take pictures 📷 secretly (without preview or launching device's camera app) using Android CAMERA2 API
Stars: ✭ 275 (-33.41%)
Mutual labels:  photos
Resplash
Unofficial Unsplash Android App
Stars: ✭ 395 (-4.36%)
Mutual labels:  photos
Zoomwall.js
A content-focused photo gallery using a horizontal masonry layout that scales up in lightbox mode.
Stars: ✭ 254 (-38.5%)
Mutual labels:  photos
Multiimagepicker
A library to pick multi images in Android
Stars: ✭ 391 (-5.33%)
Mutual labels:  photos
Instantgram
☁️ A bookmarklet for download photos in Instagram
Stars: ✭ 322 (-22.03%)
Mutual labels:  photos
cloudgallery
Nativescript photo gallery app for Nextcloud
Stars: ✭ 34 (-91.77%)
Mutual labels:  photos

ALAssetsLibrary-CustomPhotoAlbum

A nice ALAssetsLibrary category for saving images into custom photo album by @MarinTodorov.

Usage

//      |image|: The target image to be saved
//  |albumName|: Custom album name
// |completion|: Block to be executed when succeed to write the image data
//               to the assets library (camera roll)
//    |failure|: Block to be executed when failed to add the asset to the
//               custom photo album
- (void)saveImage:(UIImage *)image
          toAlbum:(NSString *)albumName
       completion:(ALAssetsLibraryWriteImageCompletionBlock)completion
          failure:(ALAssetsLibraryAccessFailureBlock)failure;

And for video:

//   |videoUrl|: The target video to be saved
//  |albumName|: Custom album name
// |completion|: Block to be executed when succeed to write the image data
//               to the assets library (camera roll)
//    |failure|: Block to be executed when failed to add the asset to the
//               custom photo album
- (void)saveVideo:(NSURL *)videoUrl
          toAlbum:(NSString *)albumName
       completion:(ALAssetsLibraryWriteImageCompletionBlock)completion
          failure:(ALAssetsLibraryAccessFailureBlock)failure;

Write the image data with meta data to the assets library (camera roll).

//  |imageData|: The image data to be saved
//  |albumName|: Custom album name
//   |metadata|: Meta data for image
// |completion|: Block to be executed when succeed to write the image data
//    |failure|: block to be executed when failed to add the asset to the custom photo album
- (void)saveImageData:(NSData *)imageData
              toAlbum:(NSString *)albumName
             metadata:(NSDictionary *)metadata
           completion:(ALAssetsLibraryWriteImageCompletionBlock)completion
              failure:(ALAssetsLibraryAccessFailureBlock)failure;

Dependence

  1. AssetsLibrary.framework
  2. MobileCoreServices.framework
  3. Photos.framework (for iOS 8+ projects)

REFERENCE

Contributors

@MarinTodorov
@Kjuly
@coryjthompson
@speedyapocalypse
@blazingpair (@paulz)
@ajcollins
@wka
@NSFish
@michaelcameron

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].