halfassed graphics extraction