Modified BarcodeImage to calculate and dispaly if called only.