Taking a screenshot without freezing (simpler)

Description

Main code

Comments