Comments (3)
@Cataalinn can you make sure you are loading file once flushing to disk has finished? it sounds like that operation has not completed when you start your other activity.
In our sample we use rxjava to observe when flushing is completed, and then we start the other Activity, please make sure you use as similar approach when using extensions or alternatively you can use just use Bitmap result = cropView.crop();
to obtain the Bitmap and save it to disk at your convenience.
from scissors.
@eveliotc what do you mean once Flushing to disk has finish?
from scissors.
@Cataalinn it means when writing all the bits that compose your image format into the file has completed. If you read the file before that it will likely be empty or partial (corrupted). For your information here is how extensions write to file.
from scissors.
Related Issues (20)
- Can I use scissors library to crop an image taken with my camera? <question> HOT 1
- How to use CropView with Fresco? HOT 1
- GlideBitmapLoader.createUsing uses cropView size
- GlideBitmapLoader.createUsing uses cropView's size while it might not be laid out HOT 1
- Question: How come CropViewExtensions pickUsing Fragment, is not using the support fragment? HOT 2
- Is it possible to remove scaling ?
- Library fails loading images when using Glide v4 and causes exception.
- Crop to File, cannot access CropViewExtensions HOT 6
- Can't import HOT 1
- Can I get the cropped offsets? HOT 5
- Fresco Integration HOT 1
- Scissors 2 is not available on maven HOT 1
- Extensions are not compatible in Kotlin HOT 1
- Scissors 2 not published, support for RxJava2 HOT 1
- Exception with glide HOT 1
- Exception with Picasso latest (2.71828) HOT 3
- Error using with Picasso 2.5.2 HOT 1
- AndroidX HOT 1
- How to check if image has been cropped/modified ? HOT 1
- Select image not load into crop view HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scissors.