Skip to content

Library that allows automatic cropping of white borders according to LAB colour space deltas. Includes extended ImageView that automatically crops images assigned to it.

Notifications You must be signed in to change notification settings

joashc/AutoCrop

Repository files navigation

AutoCrop

Library that allows automatic cropping of white borders according to LAB colour space deltas. Includes extended ImageView that automatically crops images. This is my first library, sorry for any mistakes/ bugs/ design flaws/ general teribbleness!

Usage

  1. Import as library project.
  2. Add com.AutoCrop.AutoCropImageView to your XML
  3. Use setImage() to set image, it will automatically be cropped.
  4. XML attributes disable_crop and tolerance do what they say on the tin, remember to use custom XML namespace.

About

Library that allows automatic cropping of white borders according to LAB colour space deltas. Includes extended ImageView that automatically crops images assigned to it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published