Skip to content

a UIImageView category to let the picture-cutting with faces showing better

License

Notifications You must be signed in to change notification settings

jokerjhm/UIImageView-BetterFace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UIImageView-BetterFace

a UIImageView extension to let the picture-cutting with faces showing better

##Why?

  • Have problems showing the resized image previews?
  • People in the preview only have chins but not faces?
  • A group photo doesn't look well?

Try UIImageView-BetterFace!

Like this:

preview

##How?

  1. drag UIImageView+BetterFace.h and UIImageView+BetterFace.m to your project
  2. import the .h file
  3. add hack_uiimageview_bf(); to your main function
  4. add this:[anImageView setNeedsBetterFace:YES];
  5. done
  6. still have problems? clone the project and see the demo.

##Too slow?

try set the fast property to YES to get the faster speed(lower accuracy)

##Known issues

  • it will be slow to render large-size images, and showing the strange animation
  • it may take a lot of memory while reusing the UIImageView

##Who use BetterFace?

If you're building your applications using UIImageView-BetterFace, please let me know! (add your application name & App Store link here and pullreuqest this README~

##Other

Any issue and pull request is welcome.

About

a UIImageView category to let the picture-cutting with faces showing better

Resources

License

Stars

Watchers

Forks

Packages

No packages published