I think the best is PNG, because JPG is sometimes very blurry, affecting the recognition effect, I sent a code (screenshot + text recognition)
http://www.quickmacros.com/forum/showthr...4#pid33604
http://www.quickmacros.com/forum/showthr...4#pid33604