make blobleadimage language independent (re #190)