I use the BARСODES module to create a QR code in PNG format. Next, I need to convert the PNG file to JPG using the IMAGE module. But the PNG file was created with a transparent background instead of white. And the IMAGE module paints a transparent background with black. As a result, I get a completely filled black square instead of the QR code.
Is it possible to make the “white background” option in the BARСODES module or in the IMAGE module?
right i have looked at aa few options. this is what i have come up:
Simplest option might be to convert it to a pdf
If you need a jpg output file then you could make a call to the excellent ConvertAPI. They have free accounts that will let you do up to 250 conversions a month
I’m sure you could do something with html/css. That would require a little more thought though.
Indeed, that’s an unfortunate turn of events. Maybe there are other QR Code generators that create better QR codes where you can change the background colour. I seem to remember a few you can call with an HTTP module to get the QR Code. Can’t remember one, but a google search could help here.
@Michaela what’s the best way to flag this to the dev team? Currently, an otherwise useful module is not able to be used in a number of situations because of what appears to be a small oversight. I’m sure it wouldn’t take much to fix? (ha, but of course i recognise the devs have a rather full schedule)
Heya @IainM Whenever you believe you discovered a tech issue in the product, the best way to let the team know is via a support ticket since that’s how our escalation processes are set up.
@Michaela@alex.newpath@IainM Of course, there are many services for these tasks. And so I do. But now I drew attention precisely to the illogicality of the internal modules of “MAKE”. This is not a bug, but I wanted to show how these two modules cannot work normally in an elementary situation.
This feature won’t be voted for by many on “Idea exchange” because it’s such a small thing But I was hoping that it was important for developers that the core modules interact effectively. Anyway, I’m glad I found it and let you know
Heya @EVG (and welcome to the community, by the way )
I just want to say thanks a lot for pointing this out here. I’ve passed the info on internally and I want to assure you that your feedback is 100% appreciated