Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

vImageProcessor

CI Status Version License Platform

Description

This is a wrapper to use vImage framework for image processing. Currently it support Alpha Compositing and Geometry including thesse:

  • Alpha Compositing for image and color
  • Alpha Compositing for image and image
  • Image Scale
  • Image Cropping
  • Image Flipping
  • Image Rotation
  • Image Shearing
  • Image Affine Transform

All these methods use vImage API but not Core Graphics to do image processing, which is more performant.

This project is more like a demo to show how vImage can be used to benefit some hign-efficient image processing on Apple platform. You can also use these methods in your own image framework.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

There are 8 demo cases to show the feature about vImage. Currently it do not have some powerful feature like Convolution or vDSP, because it need more knowledge about DSP. Through Accelerate and vImage support these feature, GPUImage may be a better place to get start.

Requirements

  • iOS 7+
  • macOS 10.8+
  • tvOS 9+
  • watchOS 2+

Installation

vImageProcessor is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'vImageProcessor'

Screenshot

Alpha Compositing Cropping Affine Transform

Author

DreamPiggy

License

vImageProcessor is available under the MIT license. See the LICENSE file for more info.

About

Image process using Apple's vImage framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published