Re: reading QR-code on Mac from an imported image

2020-11-27 Thread Håkan Liljegren via use-livecode
There is a free command line tool called zbar that you maybe could bundle or 
even create a library from.
https://github.com/mchehab/zbar

:-Håkan
On 20 Nov 2020, 19:17 +0100, Klaus major-k via use-livecode 
, wrote:
> Hi all,
>
> ist is possible to read the QR-code from an imported image
> on the Mac? If yes, how?
> The dictionary did not really enlighten me...
>
> Thanks in advance!
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Klaus major-k via use-livecode
Hi Andrew,

> Am 23.11.2020 um 21:39 schrieb Andrew at MidWest Coast Media via use-livecode 
> :
> 
> You should be able to use mergAV with the source set as library or album. I 
> use the live camera (“video”) to read barcodes.
>   mergAVRequestMediaAccess "video"
> --Andrew Bell
> on mouseDown
> ...
> end mergAVCamBarcodeFound

thank you!

I knew about this, but how does this work with an IMPORTED image? 8-)


Best

Klaus
--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Andrew at MidWest Coast Media via use-livecode
You should be able to use mergAV with the source set as library or album. I use 
the live camera (“video”) to read barcodes.
mergAVRequestMediaAccess "video"


--Andrew Bell

on mouseDown

mergAVRequestMediaAccess --“audio” ## DEPRECATED parameter requirement

end mouseDown


on mouseUp

if platform() <> "iphone" then

answer "Sorry, the barcode scanner feature is currently 
unavailable on this platform."

exit mouseUp

else

wait 500 milliseconds with messages

mergAVCamStartBarcodeReader

end if // platform()

end mouseUp


on mergAVCamBarcodeFound pBarcode, pType

answer pType && “barcode found” & cr & pBarcode

mergAVCamDelete

end mergAVCamBarcodeFound





> Subject: Re: reading QR-code on Mac from an imported image
> 
> No idea? Anyone?
> 
>> Am 20.11.2020 um 19:16 schrieb Klaus major-k via use-livecode 
>> :
>> 
>> Hi all,
>> 
>> ist is possible to read the QR-code from an imported image
>> on the Mac? If yes, how?
>> The dictionary did not really enlighten me...
>> 
>> Thanks in advance!
>> 
>> 
>> Best
>> 
>> Klaus
> 
> --
> Klaus Major

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Mike Kerner via use-livecode
why not ask LC if they will compile the external from ios to macos?

On Mon, Nov 23, 2020 at 1:43 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Right, no idea. I've heard the barcode reader can read QR codes but that
> requires camera access and is for scanning external images. I've never
> heard of a utility that can read the binary content of an image to
> interpret a code.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 23, 2020 8:27:03 AM Klaus major-k via use-livecode
>  wrote:
>
> > No idea? Anyone?
> >
> >> Am 20.11.2020 um 19:16 schrieb Klaus major-k via use-livecode
> >> :
> >>
> >> Hi all,
> >>
> >> ist is possible to read the QR-code from an imported image
> >> on the Mac? If yes, how?
> >> The dictionary did not really enlighten me...
> >>
> >> Thanks in advance!
> >>
> >>
> >> Best
> >>
> >> Klaus
> >
> > --
> > Klaus Major
> > https://www.major-k.de
> > kl...@major-k.de
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread J. Landman Gay via use-livecode
Right, no idea. I've heard the barcode reader can read QR codes but that 
requires camera access and is for scanning external images. I've never 
heard of a utility that can read the binary content of an image to 
interpret a code.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 23, 2020 8:27:03 AM Klaus major-k via use-livecode 
 wrote:



No idea? Anyone?

Am 20.11.2020 um 19:16 schrieb Klaus major-k via use-livecode 
:


Hi all,

ist is possible to read the QR-code from an imported image
on the Mac? If yes, how?
The dictionary did not really enlighten me...

Thanks in advance!


Best

Klaus


--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Klaus major-k via use-livecode
Hi Jim,

> Am 23.11.2020 um 19:21 schrieb Jim Lambert via use-livecode 
> :
> 
> Klaus,
> 
> Would this help you?
> https://zxing.org/w/decode.jspx

thank you, but no.

I was hoping we could do this with and inside of LC with a 
build-in lib or external or whatever, as the subject says.

> Jim Lambert

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Jim Lambert via use-livecode
Klaus,

Would this help you?
https://zxing.org/w/decode.jspx

Jim Lambert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: reading QR-code on Mac from an imported image

2020-11-23 Thread Klaus major-k via use-livecode
No idea? Anyone?

> Am 20.11.2020 um 19:16 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi all,
> 
> ist is possible to read the QR-code from an imported image
> on the Mac? If yes, how?
> The dictionary did not really enlighten me...
> 
> Thanks in advance!
> 
> 
> Best
> 
> Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


reading QR-code on Mac from an imported image

2020-11-20 Thread Klaus major-k via use-livecode
Hi all,

ist is possible to read the QR-code from an imported image
on the Mac? If yes, how?
The dictionary did not really enlighten me...

Thanks in advance!


Best

Klaus
--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode