I don't see where you are location IMG_WIDTH, could it's that this is remaining at a huge price. It is best to prefer to pas teh focus on width amd top as parameters, teh way you set teh top prevents multi-threaded usage and causes it to be extremely hard to read.Riyad KallaRiyad Kalla 10.7k77 gold badges5454 silver badges5656 bronze badges four Th