We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
final ImageEditorOption option = ImageEditorOption(); ColorOption coloroption = ColorOption.brightness(action.payload); option.addOption(coloroption); Uint8List result = await ImageEditor.editFileImage( file: File(mBean.path), imageEditorOption: option, );
Then load new Image:
ExtendedImage.memory(result , fit: BoxFit.contain, mode: ExtendedImageMode.editor, extendedImageEditorKey: editorKey, initEditorConfigHandler: (mstate) { return EditorConfig( maxScale: 8.0, cropRectPadding: EdgeInsets.all(20.0), hitTestSize: 20.0, cropAspectRatio: CropAspectRatios.ratio4_3); })
The new picture is white
The text was updated successfully, but these errors were encountered:
So, what do you want to do?
Sorry, something went wrong.
No branches or pull requests
final ImageEditorOption option = ImageEditorOption();
ColorOption coloroption = ColorOption.brightness(action.payload);
option.addOption(coloroption);
Uint8List result = await ImageEditor.editFileImage(
file: File(mBean.path),
imageEditorOption: option,
);
Then load new Image:
ExtendedImage.memory(result ,
fit: BoxFit.contain,
mode: ExtendedImageMode.editor,
extendedImageEditorKey: editorKey,
initEditorConfigHandler: (mstate) {
return EditorConfig(
maxScale: 8.0,
cropRectPadding: EdgeInsets.all(20.0),
hitTestSize: 20.0,
cropAspectRatio: CropAspectRatios.ratio4_3);
})
The new picture is white
The text was updated successfully, but these errors were encountered: