Thanks for the image file.
After an initial test, I am managed to reproduce the issue differently using the newer version (e.g Aspose.BarCode for Java v19.5). I found it does not detect the barcode in your provided gif file:
String bmp = “f:\files\Pharmacode1voie.gif”;
com.aspose.barcode.barcoderecognition.BarCodeReader reader = new com.aspose.barcode.barcoderecognition.BarCodeReader(bmp, com.aspose.barcode.barcoderecognition.DecodeType.PHARMACODE);
I have logged a ticket with an id “BARCODEJAVA-721” for your issue. We will look into it soon.
Once we have an update on it, we will let you know.