Adding colored blocks to image resource DB