LOAD_WHOLE_IMAGE=YES added