-3

I couldn't find anyway to print the size of an image in bytes.

ray1195
  • 106
  • 11

1 Answers1

1

You can simply use os.

import os
os.path.getsize('test.jpg')
isopach
  • 1,783
  • 7
  • 31
  • 43