class_docstr: PIL image support for Mac OS .icns files.
  Chooses the best resolution, but will possibly load
  a different size image if you mutate the size attribute
  before calling 'load'.
  
  The info dictionary has a key 'sizes' that is a list
  of sizes that the icns file has.
class_docstr_tok: ["PIL","image","support","for","Mac","OS",".icns","files",".","Chooses","the","best","resolution",",","but","will","possibly","load","a","different","size","image","if","you","mutate","the","size","attribute","before","calling","'load","'",".","The","info","dictionary","has","a","key","'sizes","'","that","is","a","list","of","sizes","that","the","icns","file","has","."]
code: def _open(self):
      self.icns = IcnsFile(self.fp)
      self._mode = "RGBA"
      self.info["sizes"] = self.icns.itersizes()
      self.best_size = self.icns.bestsize()
      self.size = (
          self.best_size[0] * self.best_size[2],
          self.best_size[1] * self.best_size[2],
      )
  
imports: import io
  import os
  import struct
  import sys
  from .None import Image, ImageFile, PngImagePlugin, features
label_desc: Use image node_id 1 for calling the IcnsImageFile obj's underlying member method code with example usage: obj._open() without return types