---
title: Working with tiled images
framework: professional-video-applications
role: article
path: professional-video-applications/working-with-tiled-images
---

# Working with tiled images

## Working with tiled images

Working with tiled images Render only the necessary tiles of an image in your FxPlug plug-in to improve efficiency.

Overview

Renders in FxPlug 4 are *tileable*, which means that the input image can be divided into smaller tiles for rendering. This improves the efficiency of your plug-in because the host app only asks for exactly what pixels your plug-in needs to render for each tile, and the plug-in tells the host exactly what pixels your plug-in needs to sample.

Two methods, [sourceTileRect(_:sourceImageIndex:sourceImages:destinationTileRect:destinationImage:pluginState:at:)](/documentation/professional_video_applications/fxtileableeffect/sourcetilerect(_:sourceimageindex:sourceimages:destinationtilerect:destinationimage:pluginstate:at:)) and [destinationImageRect(_:sourceImages:destinationImage:pluginState:at:)](/documentation/professional_video_applications/fxtileableeffect/destinationimagerect(_:sourceimages:destinationimage:pluginstate:at:)), help define the expected bounds for source and destination textures. These two sets of pixel bounds are `sourceTileRect` and `destinationImageRect`. They’re also known as region of interest (ROI) and domain of definition (DOD), respectively, in other rendering technologies like [Core Image](/documentation/CoreImage).
