Skip to content

jchatard/UIImage-categories

Repository files navigation

UIImage-categories

These classes are UIImage categories written taken from Trevor's Bike Shed.

See author post for explanation: http:https://vocaro.com/trevor/blog/2009/10/12/resize-a-uiimage-the-right-way/

It provides:

UIImage+Resize.h, UIImage+Resize.m

Extends the UIImage class to support resizing (optionally preserving the original aspect ratio), cropping, and generating thumbnails.

UIImage+RoundedCorner.h, UIImage+RoundedCorner.m

Extends the UIImage class to support adding rounded corners to an image.

UIImage+Alpha.h, UIImage+Alpha.m

Extends the UIImage class with helper methods for working with alpha layers (transparencies).

About

Resize a UIImage the right way from Trevor’s Bike Shed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published