You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jubayerhossain625,
do you mean how to save the cropped bytes as a file?
Currently the plugin doesn't support cropping as a file directly. To save the cropped bytes you can use writeBytes from File.
final tmpDir =awaitgetTemporaryDirectory();
final file =File('${tmpDir.path}/my_image.jpg');
await file.writeAsBytes(croppedBytes);
I will add the feature to save the cropped bytes as a file directly in the future, but in the meantime you can use this workaround.
quoc-huynh-cosee
changed the title
crop image how to do save please share proper way
How to save the cropped bytes as a file?
Mar 2, 2024
No description provided.
The text was updated successfully, but these errors were encountered: