CariusLars / ar_flutter_plugin

Flutter Plugin for AR (Augmented Reality) - Supports ARKit on iOS and ARCore on Android devices
MIT License
322 stars 233 forks source link

Update ar_session_manager.dart #60

Open GoStaRoff opened 2 years ago

GoStaRoff commented 2 years ago

ArSessionManager().snapshot() ImageProvider to Uint8List return data type was changed for more method functionality. Also with this feature developers can use it for saving to local storage or upload to Internet the picture of ARView :)

CariusLars commented 2 years ago

@leeprobert what's your opinion on this? I think using ImageProvider was your idea initially

leeprobert commented 2 years ago

Sorry for the VERY late response on this. Only just noticed it. Yes, I agree that ImageProvider is the best type to return from the snapshot so you can do whatever you need with the raw image.