-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return a "complete" transformation key.
Using a transformation key with the current FaceCropper config, allows us to properlly use Picasso's cache. To support this, I had to add a getSizeMode() method to FaceCropper. The enum was already public, so a getter makes sense. Also asked for a RGB_565 bitmap in Picasso's RequestCreator, so we don't have to convert it later, causing extra GC.
- Loading branch information
1 parent
932d818
commit 902cf4b
Showing
2 changed files
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters