• This repository has been archived on 29/Apr/2020
  • Stars
    star
    494
  • Rank 89,130 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🛠 A fork of Trevor Harmon's UIImage category methods, updated for the latest versions of iOS.

UIImage Categories

About

UIImage Categories is a fork of Trevor Harmon's category methods for cropping and resizing UIImage objects in iOS. Read more on his 2009 blog post on the subject:

Despite its ease of use, or perhaps because of it, UIImage suffers from some serious limitations. Key among these is its lack of support for resizing the image, a feature that is normally handled dynamically by its companion, the UIImageView component. However, should an iPhone application need to reduce the size of an image for storage or for exchange with an external entity (such as a web server), the UIImage class is insufficient.

This fork includes several fixes for compiler warnings and drawing bugs which have surfaced in newer versions of the iOS SDK.

Contributing

PRs are welcome, but please include some test images to demonstrate what's being fixed. That way I can test against regressions when merging future changes!