a

Results 2 issues of a

With 3648 * 5472 pictures, drawImage (called set_texture_from_img) will enter an infinite loop.