qsi

QSImageProcess

A high-performance and convenient tool for processing local image or web image

Showing:

Popularity

Downloads/wk

0

GitHub Stars

36

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

2

License

MIT

Categories

Readme

QSImageProcess

A high-performance and convenient tool for processing local image or web image

Installation

pod 'QSImageProcess'

or put all files in QSImageProcess directory into your project directly.

Then 

#import "QSImageProcess.h"
#import "UIImageView+QSImageProcess.h"

Usage-Demo1

//load web image,default config,you don't need setup
[self.imageView qs_setImageWithURL:url
                placeholderImage:placeholderImage];

//load web image,you should make a custom config
QSImageProcessConfig *config = [QSImageProcessConfig configWithOutputSize:self.imageView.frame.size cornerRadius:cornerRadius corners:UIRectCornerAllCorners];
[self.imageView qs_setImageWithURL:url
                  placeholderImage:placeholderImage
                            config:configs];

Usage-Demo2

//a config of circle output image  
QSImageProcessConfig *config = [QSImageProcessConfig configWithOutputSize:self.imageView.frame.size cornerRadius:cornerRadius corners:UIRectCornerAllCorners];

//load local image asynchronously
[[QSImageProcess sharedInstance]processImage:image config:config completed:^(UIImage *outputImage) {
    self.imageView1.image = outputImage;
}];

//load local image synchronously
self.imageView2.image = [[QSImageProcess sharedInstance]processImage:image config:config];

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100