You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: