harrisj/qrencoder

Rendering QR code to a fixed width PNG canvas

daveespo opened this issue · 0 comments

We're using the now-deprecated Google Charting API (Infographic API) to generate QR codes. The shutdown-date is April 2015 so we're building our own Sinatra app to generate QR codes in an API-compatible way.

Google's API doesn't use pixels_per_module to scale up the image -- it takes a fixed Width x Height URL parameter (https://google-developers.appspot.com/chart/infographics/docs/qr_codes). I have a monkey patch to the PNG class provided by qrencoder that mimics Google's behavior (basically padding out a blank canvas and centering the rendered QR code in the canvas). I'd prefer to integrate it properly and will do so if you're still maintaining this gem. Should I go through the trouble?

(Sorry for the cynical tone but I've submitted quite a few patches to low activity projects and they just sit there and never get merged)