0

I'm using py-wand to read images in Python. All I really want though is the image meta information, like size, format, color depth, etc. I don't want to load the entire image. Some of my images are extremely large and loading them this way is causing memory problems.

How can I get just the meta information?

edA-qa mort-ora-y
  • 30,295
  • 39
  • 137
  • 267

1 Answers1

0

The Magickwand method for this is MagickPingImageFile. I quickly skimmed the pywand documentation and didn't see a binding to this method, but it might be provided under another name than 'ping'. It may require a feature request.

retroj
  • 717
  • 6
  • 13