Saving local colors when saving image