Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is iText 5.4.2 open source?

Tags:

java

itext

I would like to know whether iText 5.4.2 is a open source. I know it is described here well:

http://itextpdf.com/terms-of-use/index.php

But I am confused as the page also says this:

Buying such a license is mandatory as soon as you develop commercial activities distributing the iText software inside your product or deploying it on a network without disclosing the source code of your own applications under the AGPL license. These activities include: offering paid services to customers as an ASP, serving PDFs on the fly in the cloud or in a web application, shipping iText with a closed source product.

like image 589
ParagJ Avatar asked Jul 30 '13 07:07

ParagJ


People also ask

Is iText PDF open source?

Over 20 years ago, the code that formed the basis for the iText PDF library as we know it today was written in an open-source environment. Even today, its code remains open-source.

Is iText free to use?

To answer your question: iText can be used for free in situations where you also distribute your software for free. As soon as you want to use iText in a closed source, proprietary environment, you have to pay for your use of iText.

Can iText 2.1/7 or earlier be used commercially?

For iText LGPL/MPL version 2.1. 7: Q: Can I use it in my commercial Project? A: Yes if you comply with LGPL.

Which is better iText or PDFBox?

One major difference is that PDFBox always processes text glyph by glyph while iText normally processes it chunk (i.e. single string parameter of text drawing operation) by chunk; that reduces the required resources in iText quite a lot.


2 Answers

AGPL stands for Affero GPL.

It basically says, when you want to sell a software product that includes iText or use iText in any commercial webservice, than you need to buy a license.

If you do an open source (with an approriate license) or private project, than you are fine and don't need to buy a license.

like image 105
ssindelar Avatar answered Oct 19 '22 22:10

ssindelar


iText 5.4.2 is open source, because the source is openly available for everybody - so the answer to your question is yes. However your question and your definition of open source might be a different one:

Depending on the license you are able to use an open source project in a commercial project without the need to also opensource the whole source code of that project under that license.

If that was the question then no: AGPL licensed projects can not be used in commercial projects (without open sourcing the commercial project which is a nogo for most commercial projects)

The last iText version released under a less restrictive license (commercially usable) was iText 2.1.7 (java) and 4.1.6 (c#). It was both released under MPL / LGPL. Even though the authors removed it from the sourceforge page you are able to find it in many places in the web (e.g. maven central). Those versions are from 2009 and still do their job fine, if you need the latest pdf features however (newer versions of digital signatures, ...) or experience a bug you may have to use the latest version...

Update: There was an unofficial java version 4.2.0 but you have to build it for yourself.

Update II: There is a fork called 'OpenPDF' which continues based on that version. Today I would use that project.

like image 23
Lonzak Avatar answered Oct 19 '22 22:10

Lonzak