docstr: Get an image from the icon
docstr_tok: ["Get","an","image","from","the","icon"]
code: def getimage(self, size, bpp=False):
      """
      Get an image from the icon
      """
      return self.frame(self.getentryindex(size, bpp))
  
imports: import warnings
  from io import BytesIO
  from math import ceil, log
  from .None import BmpImagePlugin, Image, ImageFile, PngImagePlugin
  from ._binary import i16le
  from ._binary import i32le
  from ._binary import o8
  from ._binary import o16le
  from ._binary import o32le
label_desc: Use image node_id 4 for calling the IcoFile obj's underlying member method code with example usage: obj.getimage(size, bpp) and returns: self