IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Graphisme Java Discussion :

Créer des QR Codes avec Zxing et Java 2D, en 5 minutes


Sujet :

Graphisme Java

  1. #21
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    j'ai installé le jdk "jdk-8u25-windows-i586" en faisant suivant suivant. dans le dossier d'installation j'ai les deux dossier jre et jdk. je sais quoi faire maintenant?
    En fait j'aimerai savoir es ce possible d'avoir un générateur de QR Code personnalisé? c'est-à-dire que je peux générer des QR Code avec des formes (en forme de lettre, animal...). mais un générateur et un lecteur qui m'appartiennent.

  2. #22
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    Tu veux dire que tout fonctionne bien ?

    Dans l'article, tu vois que j'utilise des modules en forme de rond. C'est le genre de chose que tu veux faire ? Ou alors tu veux carrément que ce soit l'ensemble du qrcode qui forme un dessin ? Tu as des exemples sympas en annexe.
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  3. #23
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    oui c'est ça. pouvoir faire des QR Codes qui ressemble à ça:
    Nom : téléchargement.png
Affichages : 406
Taille : 47,0 Ko
    mais avec une application qui peuT décoder. es ce possible? et que dois-je faire?

  4. #24
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    Non là ça va être impossible. Sur les images d'exemple, tu vois qu'on distingue toujours la structure du qrcode, avec un enrobage pour faire joli. Et c'est fait sous photoshop avec beaucoup de travail.

    Pour t'expliquer, regarde cet article : http://icauda.com/files/article_qrcode.pdf
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  5. #25
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    ok merci! j'ai lu le fichier et j'ai compris qu'il y a des règles que le QR code respecte en terme de forme d'image. maintenant je voulais savoir es ce qu'on peut au moins faire ceci:
    Nom : tele.PNG
Affichages : 468
Taille : 23,5 Ko
    c'est-à -dire mettre la lettre au milieu comme on l'a fait ici avec le U. si oui comment? je parle toujours en terme d'avoir une application qui le fait en non un site web sur internet.

  6. #26
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    Oui tu peux. Pour cela il faut utiliser un gros niveau de redondance, comme H. Le principe est que l'image du milieu fait perdre de l'information. Mais comme elle est redondée, le lecteur arrive à s'en sortir. Par contre, plus l'image du milieu est grosse, plus ça va être dur.

    Je crois que certains outils te permettent de le faire en auto, notamment chez unitag.
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  7. #27
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    merci! je viens de réinstaller jdk que dois-je faire maintenant?

  8. #28
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    Ca a du installer le jdk dans un dossier comme c:\programmes\jdk1.8.0_12 ou un truc dans ce genre.

    Soit tu configures les variables d'environnement comme il faut, soit tu modifies ton mvn.bat comme suit:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    set JAVA_HOME=c:\programmes\jdk1.8.0_12
    C'est à mettre au début du dossier.

    Si ça peut t'aider, regarde comment je le fais installer à mes élèves : http://thierry-leriche-dessirier.dev...er-dao/#LVII-D
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  9. #29
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    Bonjour! je l'ai fai avec les variables d'environnements. j'obtiens ce résultat
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    C:\Users\Congo's computer>java -version
    java version "1.8.0_25"
    Java(TM) SE Runtime Environment (build 1.8.0_25-b18)
    Java HotSpot(TM) Client VM (build 25.25-b02, mixed mode, sharing)
     
    C:\Users\Congo's computer>mvn --version
    Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T21:58:1
    0+01:00)
    Maven home: C:\Program Files\Java\maven3.2.3
    Java version: 1.8.0_25, vendor: Oracle Corporation
    Java home: C:\Program Files\Java\jdk1.8.0_25\jre
    Default locale: fr_FR, platform encoding: Cp1252
    OS name: "windows 7", version: "6.1", arch: "x86", family: "dos"
    'cmd' n'est pas reconnu en tant que commande interne
    ou externe, un programme exécutable ou un fichier de commandes.
    C:\Users\Congo's computer>
    quelle est l'étape suivante?
    Autre chose que je voudrais savoir quand on flash un qr code contenant un SMS et qu'on affiche d'abords le message et le numéro du destinataire après on nous envoie dans la partie où on rédige les messages avec le portable habituellement. j'aimerai savoir si ça c'est le lecteur qui est responsable ou c'est le générateur de qr code?

  10. #30
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    Quand tu prends le projet d'exemple et que tu fais mvn clean install, ca donne quoi ?
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  11. #31
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut Qr Code
    ça me donne ceci:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    C:\TP\tp-chien-dao>mvn clean install
    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building TP Chien 1.0-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven
    -surefire-plugin/2.9/maven-surefire-plugin-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
    surefire-plugin/2.9/maven-surefire-plugin-2.9.pom (10 KB at 1.8 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire/2.9/surefire-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire/2.9/surefire-2.9.pom (12 KB at 11.1 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven
    -surefire-plugin/2.9/maven-surefire-plugin-2.9.jar
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-
    surefire-plugin/2.9/maven-surefire-plugin-2.9.jar (29 KB at 19.0 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.13/log4j-1.2.1
    3.pom
    Downloaded: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.13/log4j-1.2.13
    .pom (389 B at 0.4 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.13/log4j-1.2.1
    3.jar
    Downloaded: https://repo.maven.apache.org/maven2/log4j/log4j/1.2.13/log4j-1.2.13
    .jar (350 KB at 74.1 KB/sec)
    [INFO]
    [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tp-chien-dao ---
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tp-chien-d
    ao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 1 resource
    [INFO]
    [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ tp-chien-dao
    ---
    [INFO] Compiling 9 source files to C:\TP\tp-chien-dao\target\classes
    [INFO]
    [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tp
    -chien-dao ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] Copying 3 resources
    [INFO]
    [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ tp-ch
    ien-dao ---
    [INFO] Nothing to compile - all classes are up to date
    [INFO]
    [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ tp-chien-dao ---
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-booter/2.9/surefire-booter-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-booter/2.9/surefire-booter-2.9.pom (3 KB at 3.3 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-api/2.9/surefire-api-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-api/2.9/surefire-api-2.9.pom (3 KB at 2.2 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/mave
    n-surefire-common/2.9/maven-surefire-common-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven
    -surefire-common/2.9/maven-surefire-common-2.9.pom (4 KB at 3.9 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti
    ls/2.1/plexus-utils-2.1.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util
    s/2.1/plexus-utils-2.1.pom (4 KB at 4.4 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-booter/2.9/surefire-booter-2.9.jar
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-api/2.9/surefire-api-2.9.jar
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/mave
    n-surefire-common/2.9/maven-surefire-common-2.9.jar
    Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-uti
    ls/2.1/plexus-utils-2.1.jar
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-booter/2.9/surefire-booter-2.9.jar (33 KB at 27.1 KB/sec)
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/maven
    -surefire-common/2.9/maven-surefire-common-2.9.jar (60 KB at 17.7 KB/sec)
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-api/2.9/surefire-api-2.9.jar (156 KB at 34.2 KB/sec)
    Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-util
    s/2.1/plexus-utils-2.1.jar (220 KB at 46.3 KB/sec)
    [INFO] Surefire report directory: C:\TP\tp-chien-dao\target\surefire-reports
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-junit4/2.9/surefire-junit4-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-junit4/2.9/surefire-junit4-2.9.pom (3 KB at 2.9 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-providers/2.9/surefire-providers-2.9.pom
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-providers/2.9/surefire-providers-2.9.pom (3 KB at 2.3 KB/sec)
    Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/sure
    fire-junit4/2.9/surefire-junit4-2.9.jar
    Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/suref
    ire-junit4/2.9/surefire-junit4-2.9.jar (33 KB at 28.5 KB/sec)
     
    -------------------------------------------------------
     T E S T S
    -------------------------------------------------------
     
    Results :
     
    Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
     
    [INFO]
    [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tp-chien-dao ---
    [INFO] Building jar: C:\TP\tp-chien-dao\target\TP chien.jar
    [INFO]
    [INFO] --- maven-install-plugin:2.4:install (default-install) @ tp-chien-dao ---
     
    [INFO] Installing C:\TP\tp-chien-dao\target\TP chien.jar to C:\Users\Congo's com
    puter\.m2\repository\com\icauda\tp-chien-dao\1.0-SNAPSHOT\tp-chien-dao-1.0-SNAPS
    HOT.jar
    [INFO] Installing C:\TP\tp-chien-dao\pom.xml to C:\Users\Congo's computer\.m2\re
    pository\com\icauda\tp-chien-dao\1.0-SNAPSHOT\tp-chien-dao-1.0-SNAPSHOT.pom
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 45.604 s
    [INFO] Finished at: 2014-10-18T10:08:02+01:00
    [INFO] Final Memory: 12M/29M
    [INFO] ------------------------------------------------------------------------
    'cmd' n'est pas reconnu en tant que commande interne
    ou externe, un programme exécutable ou un fichier de commandes.
    C:\TP\tp-chien-dao>

  12. #32
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Par défaut
    BUILD SUCCESS donc c'est bon...
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  13. #33
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Octobre 2014
    Messages
    10
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Burkina Faso

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Octobre 2014
    Messages : 10
    Points : 14
    Points
    14
    Par défaut qr code
    et apres cela que dois-je faire pour l'installation de zxing?

  14. #34
    Rédacteur
    Avatar de thierryler
    Homme Profil pro
    Inscrit en
    Octobre 2007
    Messages
    4 078
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations forums :
    Inscription : Octobre 2007
    Messages : 4 078
    Points : 12 815
    Points
    12 815
    Thierry Leriche-Dessirier
    Consultant Java JEE Web Agile freelance
    Rédacteur pour Developpez
    Professeur de Génie Logiciel à l'ESIEA

    Site : http://www.icauda.com / Linked'in : http://www.linkedin.com/in/thierryler / Twitter : @ThierryLeriche

  15. #35
    Futur Membre du Club
    Femme Profil pro
    chef de laboration
    Inscrit en
    Janvier 2017
    Messages
    7
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Âge : 40
    Localisation : Algérie

    Informations professionnelles :
    Activité : chef de laboration
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Janvier 2017
    Messages : 7
    Points : 6
    Points
    6
    Par défaut besoin des liens pour télécharger les éléments de votre projet
    bonjour,
    je veux essayer votre programme, j'ai besoin de télécharger vos éléments de travail, est ce que vous pouvez me donner les liens pour les télécharger.
    merci

Discussions similaires

  1. Réponses: 2
    Dernier message: 17/05/2006, 12h43
  2. Créer des zone réactives avec un éditeur visuel
    Par sami_c dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 12
    Dernier message: 16/11/2005, 11h50
  3. Comment créer des onglets comme avec Excel (sheet1/sheet2)
    Par pierrot10 dans le forum Général JavaScript
    Réponses: 1
    Dernier message: 20/09/2005, 17h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo