Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Barcode 128 using iText

 
Dinesh Pise
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.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12086
29
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!
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • 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
 
Norris Lee
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic