implemented bitmap & power image code