Add support for incremental pasting of large images