docs: def parse_uploaded_image(field):
      '''Parse an uploaded image and save into a db.ImageField()'''
      args = image_parser.parse_args()
  
      image = args['file']
      if image.mimetype not in IMAGES_MIMETYPES:
          api.abort(400, 'Unsupported image format')
      bbox = args.get('bbox', None)
      if bbox:
          bbox = [int(float(c)) for c in bbox.split(',')]
      field.save(image, bbox=bbox)