Composite image handling library