I tried the code inside QrCode-generation.java, it works correctly but the problem is that the generated QR code is unreadable by QR Scanner app.
I also tried reading the QR code you published in the article:
https://aboullaite.me/generate-qrcode-with-logo-image-using-zxing/
but that QR code was unreadable as well.
What is the use of such code if it makes the QR code unreadable?