Bitcoin Forum
May 12, 2024, 11:51:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Invisible QR codes.  (Read 7193 times)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
September 27, 2011, 10:08:38 AM
 #21

Quote
Storing a whole business card in a picture readable when offline would surely distort it much more.

How about a vector image?

I don't understand. The difference between vector and bitmap is only in the storage format. QR-like codes work even after printing when the storage format is "ink on paper".
Sure in an SVG you can embed arbitrary information. You can add a whole book without violating the SVG standard and without distorting the image's visual representation Wink

Check it out. It's 3.9MB and for convenience I put the bible as the title but other and new tags are perfectly allowed in the standard:

i thought bruno was saying "how about embedding a vector image into the photo, instead of embedding text data".
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
1715557893
Hero Member
*
Offline Offline

Posts: 1715557893

View Profile Personal Message (Offline)

Ignore
1715557893
Reply with quote  #2

1715557893
Report to moderator
giszmo
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
September 27, 2011, 10:46:27 AM
 #22

Quote
Storing a whole business card in a picture readable when offline would surely distort it much more.

How about a vector image?

I don't understand. The difference between vector and bitmap is only in the storage format. QR-like codes work even after printing when the storage format is "ink on paper".
Sure in an SVG you can embed arbitrary information. You can add a whole book without violating the SVG standard and without distorting the image's visual representation Wink

Check it out. It's 3.9MB and for convenience I put the bible as the title but other and new tags are perfectly allowed in the standard:

i thought bruno was saying "how about embedding a vector image into the photo, instead of embedding text data".


Well, svg is "text data". Am I missing something?


ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
September 27, 2011, 10:49:41 AM
 #23

Well, svg is "text data". Am I missing something?



oh, i didn't know that.

(but i'm looking at your SVG code now on my phone, thanks)
giszmo
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
September 27, 2011, 10:54:27 AM
 #24

i'm looking at your SVG code now on my phone, thanks

I realized that it is maybe non-trivial to get the qr-code into an svg-file.

In order to get a rather small qr-code I stripped a lot of meta-data from the original svg-file as it came out of inkscape.
... uhm ... opening the file on my desktop works. In the browser it doesn't. Crippled too much, but you get the idea Wink

Here is the svg:

Code:
<svg width="157" height="29">
<g transform="translate(-121,-116)">
<text style="font-size:40px;">
<tspan x="167" y="144">See?</tspan>
</text>
</g>
</svg>

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
idontknow
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
September 27, 2011, 11:04:10 AM
 #25

Can you show us the original SVG file for comparison or is it too big?
giszmo
Legendary
*
Offline Offline

Activity: 1862
Merit: 1105


WalletScrutiny.com


View Profile WWW
September 27, 2011, 11:32:40 AM
 #26

Can you show us the original SVG file for comparison or is it too big?

Nah, it's not "big" at all. I stripped just everything that looked like "extra" (namespace sodipodi and inkscape) or "default" (color:black), ids and some numbers precision. Probably adding back the first line would make the svg work in the browser:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="156.08125"
   height="28.16"
   id="svg2"
   version="1.1"
   inkscape:version="0.48.1 r9760"
   sodipodi:docname="New document 1">
  <defs
     id="defs4" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="0.35"
     inkscape:cx="-267.49143"
     inkscape:cy="-388.17143"
     inkscape:document-units="px"
     inkscape:current-layer="layer1"
     showgrid="false"
     fit-margin-top="0"
     fit-margin-left="0"
     fit-margin-right="0"
     fit-margin-bottom="0"
     inkscape:window-width="1112"
     inkscape:window-height="740"
     inkscape:window-x="134"
     inkscape:window-y="155"
     inkscape:window-maximized="0" />
  <metadata
     id="metadata7">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(-121.06286,-116.03076)">
    <text
       xml:space="preserve"
       style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:LMSans8;-inkscape-font-specification:LMSans8"
       x="117.14286"
       y="143.79076"
       id="text2985"
       sodipodi:linespacing="125%"><tspan
         sodipodi:role="line"
         id="tspan2987"
         x="117.14286"
         y="143.79076">Die Bibel</tspan></text>
  </g>
</svg>

ɃɃWalletScrutiny.comIs your wallet secure?(Methodology)
WalletScrutiny checks if wallet builds are reproducible, a precondition for code audits to be of value.
ɃɃ
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
September 30, 2011, 07:08:48 AM
Last edit: September 30, 2011, 07:25:54 AM by HostFat
 #27

I like the idea of a "virus" that puts hidden QR-codes everywhere on images Grin

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


Posts: 69


View Profile WWW
September 30, 2011, 10:58:25 AM
 #28

Cool idea but looks like marketing it will be tough.

Yes, seems like fun for creative people though.  Finding ways to get people to scan a part of the page that shows nothing, which is good for actual conversions of qr scans. The bad part being them having to download an extra app to do it though.

Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!