default to hextree encoding for 'png' format + png options cleanup