sskodje / ScreenRecorderLib

A .NET library for screen recording in Windows, using native Microsoft Media Foundation for realtime encoding to h264 video or PNG images.
MIT License
414 stars 94 forks source link

taking screenshot #266

Closed mal1ceee closed 12 months ago

mal1ceee commented 1 year ago

is it possible to add an option to allow taking screenshots on click instead of interval?

sskodje commented 1 year ago

Do you mean while recording a video?

mal1ceee commented 1 year ago

yes, currently the screenshot is taken in interval, is there any built in features that allow screenshot to be taken on click or do i have to add logic so it takes one single screen on click

sskodje commented 1 year ago

No unfortunately not.

mal1ceee commented 1 year ago

Will there be future implementing of it ?

sskodje commented 1 year ago

I'm sorry for the late reply, been very busy lately. I just had a quick glance at the code, and it doesn't look very difficult to implement. I'll try to get it done in the coming weeks.

mal1ceee commented 1 year ago

Thank you appreciate it :)

mal1ceee commented 1 year ago

hello, i was wondering if there is any update regarding this

sskodje commented 1 year ago

I added the functionality to the main branch. Let me know if you have any issues :)

mal1ceee commented 1 year ago

thanks for adding the feature, you are a lifesaver but i was wondering if its possible to update nuget packages to include the screenshot, cant access them ;o

sskodje commented 12 months ago

It's up now.

mal1ceee commented 12 months ago

Thanks for helping, i realised that the screenshot does not have the options to change the quality or the window it was suppose to take, i was wondering if that could be added in also :D SORRY FOR ALL THESE ISSUE :(

sskodje commented 12 months ago

No that's not feasible. If you want to reencode, you can use e.g. ImageFlow.

mal1ceee commented 12 months ago

what about choosing what to screenshot ?

sskodje commented 12 months ago

I'm afraid i don't understand the question. The snapshot is the same as the recording sources, i.e. the same as the video output.