change word count image to raw format