leanflutter / screen_capturer

This plugin allows Flutter desktop apps to capture screenshots.
MIT License
79 stars 28 forks source link

Silent 'True' is not working #6

Closed VivekTpss closed 2 years ago

VivekTpss commented 2 years ago

I have implemented this screen capture library. But it is giving me this photo capture animation.

this is my code.

    await ScreenCapturer.instance.capture(
                    mode: CaptureMode.screen, // screen, window
                    imagePath: _finalDirectory + "/" +imageName,
                    silent: true,
                  );
lijy91 commented 2 years ago

What platform? slient only works on macOS

VivekTpss commented 2 years ago

I am trying this on Linux. Is there any way through which we can implement the screenshot without showing the capture(blink) animation?

lijy91 commented 2 years ago

The essence of screen_capturer is to call gnome-screenshot to realize the screenshot function, but gnome-screenshot does not support the function you want.