There are lots of calls to code like
imagestring(
$img,
$this->_font,
$xpos + 1,
$this->_barcodeheight,
$value,
$black
);
littered through the codebase.
Introduce an Image_Barcode2 wrapper which provides a quick OO abstraction layer on the functional calls.