Start of writing composite etc for large images