im2.save(buf, "JPEG", quality=quality)
elapsed_time += time.time() - t
-print("compute scale jpg ",elapsed_time/nb_times, " / size of file ",Path('lena3.jpg').stat().st_size)
+print("compute scale 4 jpg ",elapsed_time/nb_times, " / size of file ",Path('lena3.jpg').stat().st_size)
sbuf.put_bytes(f.read())
# print('File Sent')
elapsed_time += time.time() - t
- print("send scale jpg ",elapsed_time/nb_times)
+ print("send scale 4 jpg ",elapsed_time/nb_times)