code: def load_prepare(self):
      # create image memory if necessary
      if (
          not self.im
          or self.im.mode != self.mode
          or self.im.size != self.size
      ):
          self.im = Image.core.fill(self.mode, self.size, 0)
      # create palette (optional)
      if self.mode == "P":
          Image.Image.load(self)
  
file_path: pillow-simd/src/PIL/PsdImagePlugin.py
imports: import io
  from .None import Image, ImageFile, ImagePalette
  from ._binary import i8
  from ._binary import i16be
  from ._binary import i32be
  from ._binary import si16be
label_desc: Use image node_id 4 for calling the PsdImageFile obj's underlying member method code with example usage: obj.load_prepare() without return types