code: def initialize_pillow():
      global MIME_EXT_MAPPING  # pylint: disable=global-statement
      global READABLE_MIMES  # pylint: disable=global-statement
  
      try:
          import PIL.Image
      except ImportError:
          raise InternalServerError(PIL_EXC_MSG)
  
      PIL.Image.init()
      MIME_EXT_MAPPING = {v: k for k, v in PIL.Image.MIME.items()}  # type: ignore (lazy constant)
      READABLE_MIMES = {
          k
          for k, v in MIME_EXT_MAPPING.items()
          if v not in PIL_WRITE_ONLY_FORMATS
      }
  
imports: from __future__ import annotations
  import functools
  import io
  import typing
  from urllib.parse import quote
  from multipart.multipart import parse_options_header
  from starlette.datastructures import UploadFile
  from starlette.requests import Request
  from starlette.responses import Response
  from ...exceptions import BadInput
  from ...exceptions import InternalServerError
  from ...exceptions import InvalidArgument
  from ...exceptions import MissingDependencyException
  from ...grpc.utils import import_generated_stubs
  from ..service.openapi import SUCCESS_DESCRIPTION
  from ..service.openapi.specification import MediaType
  from ..service.openapi.specification import Schema
  from ..types import LazyType
  from ..utils import LazyLoader
  from ..utils import resolve_user_filepath
  from ..utils.http import set_cookies
  from .base import IODescriptor
label_desc: Use image node_id 1 for calling a global function with example usage: initialize_pillow() without return types