Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Barcode 128 using iText

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friends,

I want to create a barcode image gif file using iText. I google but I found the code which creates image in PDF but my requirement is to create barcode gif/jpg image file.
If someone having the code please share.

Thanks.
 
lowercase baba
Posts: 12989
66
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dinesh Pise wrote:If someone having the code please share.Thanks.


We don't actually do that here. We will help you write the code yourself (if we can), but nobody should simply provide you a solution, nor should you expect it.
 
Dinesh Pise
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator



The above code gives me the barcode as image but is that an open source?

Thanks!
 
Rancher
Posts: 43024
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
iText is licensed under the GPL (iText 1 and 2) or AGPL (iText 5) license, which are generally not considered Open Source licenses, but Free licenses. That effects how you can use them. The AGPL in particular has strings attached that make it generally unsuitable for business use.
 
Dinesh Pise
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have generated the barcode using the inbuild features of iReport.
Thank you friends for all your efforts.

Regards,
Dinesh Pise
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dinesh Pise wrote:Dear Friends,

I want to create a barcode image gif file using iText. I google but I found the code which creates image in PDF but my requirement is to create barcode gif/jpg image file.
If someone having the code please share.


Thanks.



I've ever tried barcode tools from Aspose. It worked great. Actually, the java barcode solution i used is the one in your comment.
 
Evacuate the building! Here, take this tiny ad with you:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic