Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Barcode 128 using iText

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • 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: 12766
51
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator



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

Thanks!
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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.
 
Would you like to try a free sample? Today we are featuring tiny ads:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!