Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Can anyone recommend a PHP library (if one exist) that will generate and decode QR codes? This seems to do the job: http://code.google.com/p/zxing/ but it is in Java. If I have to use ZXing, how do I make it work from PHP?
Looks like PHP QR Code will do what you want.
If you're willing to work over HTTP:
There is a web-based encoder from zxing at http://zxing.org/w/decode.jspx. I don't suggest you use it directly, but since the source is available in the open-source project under zxingorg/, you can easily run your own. Then you can decode QR codes by POSTing the image data to the server over HTTP.
For encoding, likewise, you could just use the Google Chart Server, which has generated QR codes for a long time. Look at http://zxing.appspot.com/generator -- it will show you the image URL pointing to the chart server that makes the image. You can just use the same to grab encoded images in PHP.
Zbar at http://zbar.sourceforge.net/ can decode qr codes, and it can be compiled into at php extension with the PHP wrapper at https://github.com/mkoppanen/php-zbarcode.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
From www.qrcode.com, "LogoQ is a new type of QR Code created to enhance visual recognizability by combining it with letters and pictures in full color."
I would like to be able to take an image file and a URL and generate such a QR code, similar to what is offered at website visualead.com -- but without the generated QR code redirecting to their site, and potentially encountering ads, all before the original URL is opened.
Have searched a bit for "LogoQ" but could not find useful results.
I'm open to using Python, Java, or ImageMagick, or whatever other libraries or tools might be suitable for this.
thank you.
Creating a LogoQ themed QR code is a simple task for ImageMagick. ImageMagick language bindings cover both Java and Python, but I'll give an example with CLI utilities.
For creating a LogoQ, screen compose a logo graphic over a QR code.
convert /path/to/qr_code.png \
/path/to/logo.png \
-compose Screen \
-composite \
/path/to/logo_qr.png
There are many ways, libraries, and APIs to generate a QR code. I half remember Google providing a free API, but that's been deprecated.
If you've compiled ImageMagick with HTTP support, then update the above example to call web services directly over HTTP
convert https://example.org/path/to/qr/api \
https://example.org/path/to/cdn/logo \
-compose Screen \
-composite \
/path/to/logo_qr.png
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
The normal Imageio Library says it cannot read the Webp format images. Are there any simple methods to read and webp images in java?
Found this library today: webp-imageio. Haven't tried it out yet, but it looks like it'll do encoding using ImageIO.
sprd-webp is another java JNI library based on webp-imageio. It is a wrapper around googles libwebp and not a real java implementation.
Java VP8 Decoder is a GPL3 library currently in beta that can read webp image format. It seems there is no encoding facility at the moment.
A possible alternative would be using VLCJ, a Java bindings library for VLC (webp support should be available out-of-box in lastest versions afaik).
A third library is jvp8, a dual-licensed commercial/GPL native wrapper which allows to use the VP8 video codec.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm developing application which needs to get details from AutoCAD DXF file. Is there any specific API which support this task. Actually in my project I need to get building structures to my java application and I need to add some more details to those graphs So can some one provide your experience about this ?
A quick Google search on java dxf yields the ycad library. I have never used it, I don't know how well it works.
http://caff.de/dxfviewer/ supports reading DXF files.
The reading of an AutoCAD DXF file is not a trivial task. The contained entities can be affected by the coordinate systems, the blocks can be hierarchycal, etc. When I wrote my DXF importer, I read the file sequentialy, built a DXF DOM and then converted it into my own format. You can find the document specification here:
http://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
http://www.autodesk.com/techpubs/autocad/acadr14/dxf/dxf_reference.htm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have approximately 2000 images with QR codes in them, each representing exactly one letter. Does anyone know a good open source framework in Java (Java prefered, but any other language is fine, too) to decode them?
I have only found shareware frameworks and web services that won't allow me to upload 2000 images to their server.
Android has the "Barcode Scanner" app that can handle QR codes. The source code is available here. Being Android, it's written in Java (although using the Android API rather than J2SE, but that it should be trivial to port the part of the source that decodes the QR code).
I'm not sure about the licensing, you may want to check with ZXing before you help yourself to their code and use it in your own project.
ZXing is the de facto standard. It has pure Java bindings and a web server you can run. Look in zxingorg/ or try it at zxing.org/w/decode.jspx.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am writting an application that will send MMS messages from an android phone and I am trying to follow the instructions on this post:
How to send image via MMS in Android?
My problem now is I can't find the libraries used there, like com.google.android.mms.*
Can anyone point me to that?
Is there any MMS library I can plug in my project? It is kinda weird that google does not provide that for the developers...
Thanks,
Joao Paulo Farias
you can get it this way
Class pduparserclass = Class.forName("com.google.android.mms.<the class>");
since the class is present on the device but not in the sdk. this will not work on the emulator
One way is to download the jar, and have it added to your build path.
You can download at http://www.java2s.com/Code/Jar/a/Downloadandroidsrcjar.htm
com.google.android.mms is an internal package in Android's source code. It is not intended to be used by other apps.
The link you posted already contains code on how to send an MMS using the proper API in aioobe's answer (who in turn linked to another answer that had it).