base code set for image parser