The icon is supposed to be generated at install time to match Theme.iconSizeMedium (which depends on the screen resolution). That's what this app is for:
There was a problem with the very first version (1.0.0) - it was deleting the new icon during upgrade. So if you were upgrading from 1.0.0 - that would explain it. Try reinstalling the package.
Version 1.0.2 saves larger images to Gallery. Typically, every pixel gets converted to 5x5 square (the actual number depends on the code size and the screen resolution - squares could be smaller but never larger than 5x5). Those images should be readable now.
The generated PNGs are perfect pixel-to-pixel copies of the QR code, black on white and with a 1-pixel white square around it. They are not blurred or anything. It's just that Gallery assumes photos and will blur and interpolate pictures no matter what you do. Of course, if I turn pixels into squares (2x2, 3x3, 4x4, whatever), the interpolation effects will become less noticeable, but that would essentially mean doing the resizing for the Gallery app.
It's really a problem with display, not with generation of images. And I was actually able to decode QR codes from the Gallery with CoreReader from Jolla Store, which convinced me that this is good enough. They don't look great in Gallery, I agree, but they should still be decodable.
Not really... With QR Clip you can convert arbitraty selectable text to a QR code, this one converts the whole thing (provided that sharing is supported by the application in the first place)
I have to check what exactly browser is sharing. As for contacts, those most likely include the picture which makes them too big for a QR code. Some pre-processing might help there. I'll take a look when I have a chance.
Comments
amaretzek
Wed, 2019/06/26 - 03:28
Permalink
icon size too small on Xperia X SF 3.0.3.10 qrshare-1.0.3-5.1 (people). Thanks!
slava
Wed, 2019/06/26 - 11:03
Permalink
The icon is supposed to be generated at install time to match Theme.iconSizeMedium (which depends on the screen resolution). That's what this app is for:
https://github.com/monich/sailfish-qrshare/tree/master/mkicon
There was a problem with the very first version (1.0.0) - it was deleting the new icon during upgrade. So if you were upgrading from 1.0.0 - that would explain it. Try reinstalling the package.
amaretzek
Thu, 2019/06/27 - 01:42
Permalink
"pkcon remove sailfish-qrshare" and then "install" solved the problem. Thanks
Historyscholar
Sun, 2019/06/23 - 07:37
Permalink
HOW TO PROVIDE TRANSLATION?
slava
Sun, 2019/06/23 - 12:13
Permalink
As a github pull request like this: https://github.com/monich/sailfish-qrshare/pull/1
objectifnul
Fri, 2019/05/17 - 11:37
Permalink
Improved with Jolla-Browser, thx. However, saved QR's in the gallery are too blurred (less than 800 bytes) and unreadable.
slava
Sat, 2019/06/22 - 13:32
Permalink
Version 1.0.2 saves larger images to Gallery. Typically, every pixel gets converted to 5x5 square (the actual number depends on the code size and the screen resolution - squares could be smaller but never larger than 5x5). Those images should be readable now.
slava
Fri, 2019/05/17 - 12:35
Permalink
The generated PNGs are perfect pixel-to-pixel copies of the QR code, black on white and with a 1-pixel white square around it. They are not blurred or anything. It's just that Gallery assumes photos and will blur and interpolate pictures no matter what you do. Of course, if I turn pixels into squares (2x2, 3x3, 4x4, whatever), the interpolation effects will become less noticeable, but that would essentially mean doing the resizing for the Gallery app.
It's really a problem with display, not with generation of images. And I was actually able to decode QR codes from the Gallery with CoreReader from Jolla Store, which convinced me that this is good enough. They don't look great in Gallery, I agree, but they should still be decodable.
Pohli
Fri, 2019/05/17 - 22:52
Permalink
Wouldn't a vector graphics file format like SVG be more appropriate?
slava
Fri, 2019/05/17 - 23:37
Permalink
Gallery doesn't seem to support SVGs. And to me, one pixel per bit seems to be quite adequate, if not perfect, format for this particular purpose.
Bocephus
Fri, 2019/05/17 - 01:59
Permalink
So... Does this make QR Clip obsolete?
slava
Fri, 2019/05/17 - 02:09
Permalink
Not really... With QR Clip you can convert arbitraty selectable text to a QR code, this one converts the whole thing (provided that sharing is supported by the application in the first place)
slava
Fri, 2019/05/17 - 14:09
Permalink
And another important thing - QR Clip is compatible with Jolla Store and this one isn't.
maier
Wed, 2019/05/15 - 23:47
Permalink
My special Thank you for your support ) It is working fine. Only the two points from the comment before are not working. As initial version super.
objectifnul
Wed, 2019/05/15 - 22:48
Permalink
Promising. For most of my contacts, I get an error: "Text too long for QR code".
I wish it working with Jolla Browser (currently: "Nothing to share").
slava
Thu, 2019/05/16 - 02:09
Permalink
I have to check what exactly browser is sharing. As for contacts, those most likely include the picture which makes them too big for a QR code. Some pre-processing might help there. I'll take a look when I have a chance.
martonmiklos
Mon, 2019/05/20 - 00:20
Permalink
FYI I have did some coding around shortening the contacts for sharing via SMS:
https://github.com/martonmiklos/harbour-sms-share-plugin/tree/master/vca...
anasyntes
Wed, 2019/05/15 - 18:46
Permalink
Super, thank you!
Serega_xDD
Wed, 2019/05/15 - 18:34
Permalink
Very Good