[ymeng] Capture screen with PNG format
[ymeng] Move variable to invoking position