I'm running python (v3.4) in IBM I / AS400 (very similar to mainframes) to generate QR code dynamically to print in customer statements.
Using PyQRCode and PyPNG, I've generated QR code in PNG file. But PNG isn't supported in IBM I, neither is SVG or EPS.
Hence I need to convert PNG to JPEG or TIFF. BUT again PILLOW/numpy is not an option as there was no C/CPP in AS400 and GCC couldn't be setup properly.
So, need to convert (or generate) QR Code in JPG using only pure python libraries.
I'm very new to python and not getting clear leads on ways to
i) generate QR code in JPEG
ii) to convert PNG/SVG to JPG without PIL/PILLOW