✂ Android image cropping library
Bitmap croppedBitmap = cropView.crop();to obtain a cropped Bitmap to match viewport dimensions
Scissors comes with handy extensions which help with common tasks like:
CropViewuse as follows:
To save a cropped Bitmap into a
Fileuse as follows:
cropView.extensions() .crop() .quality(87) .format(PNG) .into(croppedFile))
For questions please use github issues. Mark question issue with "question" label.
Snapshots of development version are available in Sonatype'srepository.
Copyright (C) 2015 Lyft, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.