yeahdongcn / RSBarcodes

1D and 2D barcodes scanner and generators for iOS7 with delightful controls.
MIT License
383 stars 59 forks source link

QR Code Resolution very low #15

Closed daveoon closed 10 years ago

daveoon commented 10 years ago

Hi,

I used this library to scan and generate my QR code but when i sent over to my label printer via AirPrint, the resolution of the QR code is very bad. Is there anyway to make the QR code image higher resolution?

Thanks in advance.

yeahdongcn commented 10 years ago

Hi, you can try calling this inline function

static inline UIImage *resizeImage(UIImage *source, float scale)
daveoon commented 10 years ago

Hey! It works! Thanks for saving my day :))

yeahdongcn commented 10 years ago

Nice to know that!