read image dimensions with Juicy Pixels