Skip to content

UIImage+Grayscale is an Objective-C category for converting a UIImage to grayscale taking into account retina displays

License

Notifications You must be signed in to change notification settings

marcobrambilla/UIImage-Grayscale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIImage+Grayscale is an Objective-C category for converting a UIImage to 
grayscale taking into account retina displays.

The usage is quite simple, import the header file where needed and use it to 
produce a grayscale version of an UIImage, like so:

UIImage *grayscaleImg = [UIImage imageWithContentsOfFile:img] convertToGrayscale]

Please have a look at COPYRIGHT for original credits and to the comments in 
the .m file for interesting insights on grayscale conversion.

About

UIImage+Grayscale is an Objective-C category for converting a UIImage to grayscale taking into account retina displays

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published