implement fast draw image sample