Description
FastImage is an Objective-C port of the Ruby project by Stephen Sykes. It's directive is to request as little data as possible (usually just the first batch of bytes returned by a request) to determine the size and type of a remote image.
This means you can get the size of a large image (say 2MB), by only downloading around 8KB - 32KB
FastImage alternatives and similar libraries
Based on the "Image" category.
Alternatively, view FastImage alternatives based on common mentions on social networks and blogs.
-
GPUImage2
GPUImage 2 is a BSD-licensed Swift framework for GPU-accelerated video and image processing. -
TOCropViewController
A view controller for iOS that allows users to crop portions of UIImage objects -
IDMPhotoBrowser
Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more -
SKPhotoBrowser
Simple PhotoBrowser/Viewer inspired by facebook, twitter photo browsers written by swift -
AspectFillFaceAware
DISCONTINUED. An extension that gives UIImageView the ability to focus on faces within an image. -
GPUImage3
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal. -
RSKImageCropper
An image / photo crop view controller for iOS like in the Contacts app with support for landscape orientation. -
EBPhotoPages
A photo gallery for iOS with a modern feature set. Similar features as the Facebook photo browser. -
Twitter Image Pipline
Twitter Image Pipeline is a robust and performant image loading and caching framework for iOS clients -
ImagePickerSheetController
ImagePickerSheetController replicates the custom photo action sheet in iMessage. -
YUCIHighPassSkinSmoothing
An implementation of High Pass Skin Smoothing using Apple's Core Image Framework -
CTPanoramaView
A library that displays spherical or cylindrical panoramas with touch or motion based controls. -
AXPhotoViewer
An iOS/tvOS photo gallery viewer, useful for viewing a large (or small!) number of photos. -
OnlyPictures
A simple and flexible way to add source of overlapping circular pictures, currently supports horizontal overlapping or distant pictures with great layout flexibility. -
ComplimentaryGradientView
Create complementary gradients generated from dominant and prominent colors in supplied image. Inspired by Grade.js -
Harbeth
🎨 GPU accelerated image / video and camera filter library based on Metal. Support macOS & iOS. 图像、视频、相机滤镜框架
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of FastImage or a related project?
README
FastImage
FastImage 2.0 is an Swift port of the Ruby project by Stephen Sykes. It's directive is to request as little data as possible (usually just the first batch of bytes returned by a request) to determine the size and type of a remote image.
This means you can get the size of a large image (say 2MB), by only downloading around 8KB - 32KB
Fairly simple to use:
let fastImage = FastImage()
let imageURL = URL("http://i.imgur.com/7GLI90s.jpg")!
fastImage.imageSizeAndType(for: url, completion: { result in
switch result {
case .success(let (size, type)):
// `size` would be 1600 x 1200
// `type` would be .jpg
...
case .failure(let error):
// Get a URLError here (timed out, etc.) or a SizeNotFoundError (just couldn't get a size based on data)
}
})
Currently supports JPEG, PNG, BMP, GIF, TIFF, ICO, CUR, and PSD.
Compatability
2.0 was built with Xcode 10.1 with a deployment target of 11.0 but could likely be set lower
License
MIT, see LICENSE file
*Note that all licence references and agreements mentioned in the FastImage README section above
are relevant to that project's source code only.