Bitcoin Forum
December 09, 2016, 12:14:46 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Invisible QR codes.  (Read 6151 times)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



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".
1481242486
Hero Member
*
Offline Offline

Posts: 1481242486

View Profile Personal Message (Offline)

Ignore
1481242486
Reply with quote  #2

1481242486
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481242486
Hero Member
*
Offline Offline

Posts: 1481242486

View Profile Personal Message (Offline)

Ignore
1481242486
Reply with quote  #2

1481242486
Report to moderator
1481242486
Hero Member
*
Offline Offline

Posts: 1481242486

View Profile Personal Message (Offline)

Ignore
1481242486
Reply with quote  #2

1481242486
Report to moderator
giszmo
Legendary
*
Offline Offline

Activity: 1568


¡ɥɔʇɐʍ ʇsnɾ &#7


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?


payb.tc
Hero Member
*****
Offline Offline

Activity: 812



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: 1568


¡ɥɔʇɐʍ ʇsnɾ &#7


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>

idontknow
Newbie
*
Offline Offline

Activity: 28



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?

http://www.winbtcs.com/?ref=16M52MjMVUWfiwZfBMBjLqGChM3ensF3mk
giszmo
Legendary
*
Offline Offline

Activity: 1568


¡ɥɔʇɐʍ ʇsnɾ &#7


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>

HostFat
Staff
Legendary
*
Offline Offline

Activity: 2296


I support freedom of choice


View Profile WWW
September 30, 2011, 07:08:48 AM
 #27

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

Eternity Wall: Messages lasting forever - The Rock Trading (ref): A good exchange / gateway Ripple, with support for multisig, since 2007. 
https://bitcointa.lk: Bitcointalk backup if offline - Bitcoin Foundation Italia - Blog: http://theupwind.blogspot.it
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 560


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!