Optimized saveIMG()... finally :D