user: How do I use Image Operators in Blender? Include parameters, examples, warnings and best practices.

assistant: ill the image with a grid for UV map testing
        - **width** (*int in* *[**1**,* *inf**]**,* *(**optional**)*) – Width, Image width
        - **height** (*int in* *[**1**,* *inf**]**,* *(**optional**)*) – Height, Image height
        - **float** (*boolean**,* *(**optional**)*) – 32-bit Float, Create image with 32-bit floating-point bit depth
        - **alpha** (*boolean**,* *(**optional**)*) – Alpha, Create an image with an alpha channel

bpy.ops.image.tile_remove()
:   Removes a tile from the image

bpy.ops.image.unpack(*\**, *method='USE_LOCAL'*, *id=''*)
:   Save an image packed in the .blend file to disk

    Parameters:
    :   - **method** (enum in [Unpack Method Items](bpy_types_enum_items/unpack_method_items.html#rna-enum-unpack-method-items), (optional)) – Method, How to unpack
        - **id** (*string**,* *(**optional**,* *never None**)*) – Image Name, Image data-block name to unpack

bpy.ops.image.view_all(*\**, *fit_view=False*)
:   View the entire image

    Parameters:
    :   **fit_view** (*boolean**,* *(**optional**)*) – Fit View, Fit frame to the viewport

bpy.ops.image.view_center_cursor()
:   Center the view so that the cursor is in the middle of the view

bpy.ops.image.view_cursor_center(*\**, *fit_view=False*)
:   Set 2D Cursor To Center View location

    Parameters:
    :   **fit_view** (*boolean**,* *(**optional**)*) – Fit View, Fit frame to the viewport

bpy.ops.image.view_ndof()
:   Use a 3D mouse device to pan/zoom the view

bpy.ops.image.view_pan(*\**, *offset=(0.0, 0.0)*)
:   Pan the view

    Parameters:
    :   **offset** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Offset, Offset in floating-point units, 1.0 is the width and height of the image

bpy.ops.image.view_selected()
:   View all selected UVs

bpy.ops.image.view_zoom(*\**, *factor=0.0*, *use_cursor_init=True*)
:   Zoom in/out the image

    Parameters:
    :   - **factor** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
        - **use_cursor_init** (*boolean**,* *(**optional**)*) – Use Mouse Position, Allow the initial mouse position to be used

bpy.ops.image.view_zoom_border(*\**, *xmin=0*, *xmax=0*, *ymin=0*, *ymax=0*, *wait_for_input=True*, *zoom_out=False*)
:   Zoom in the view to the nearest item contained in the border

    Parameters:
    :   - **xmin** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X Min
        - **xmax** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – X Max
        - **ymin** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y Min
        - **ymax** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Y Max
        - **wait_for_input** (*boolean**,* *(**optional**)*) – Wait for Input
        - **zoom_out** (*boolean**,* *(**optional**)*) – Zoom Out

bpy.ops.image.view_zoom_in(*\**, *location=(0.0, 0.0)*)
:   Zoom in the image (centered around 2D cursor)

    Parameters:
    :   **location** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Location, Cursor location in screen coordinates

bpy.ops.image.view_zoom_out(*\**, *location=(0.0, 0.0)*)
:   Zoom out the image (centered around 2D cursor)

    Parameters:
    :   **location** ([`mathutils.Vector`](mathutils.html#mathutils.Vector "mathutils.Vector") of 2 items in [-inf, inf], (optional)) – Location, Cursor location in screen coordinates

bpy.ops.image.view_zoom_ratio(*\**, *ratio=0.0*)
:   Set zoom ratio of the view

    Parameters:
    :   **ratio** (*float in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out