lv_image_set_scale() function
Set the zoom factor of the image. Note that indexed and alpha only images can't be transformed.
Arguments
obj
pointer to an image object
zoom
the zoom factor. Example values: - 256 or LV_ZOOM_IMAGE_NONE: no zoom - <256: scale down - >256: scale up - 128: half size - 512: double size