code: def resize_multiple(
      img, sizes=(8, 16, 32, 64, 128, 256, 512, 1024), quality=100
  ):
      imgs = []
  
      for size in sizes:
          imgs.append(resize_and_convert(img, size, quality))
  
      return imgs
  
file_path: gluon-cv/scripts/gan/stylegan/prepare_data.py
imports: import argparse
  from io import BytesIO
  import multiprocessing
  from functools import partial
  from PIL import Image
  import lmdb
  from tqdm import tqdm
  from mxnet.gluon.data.vision.datasets import ImageFolderDataset
label_desc: Use image node_id 2 for calling a global function with example usage: resize_multiple(img, sizes, quality) and returns: imgs