add default case of PNG in renderCairo