Search code examples
itextjpeg2000

Does itext support JPEG 2000?


I would like to package a jpeg 2000 file as a PDF. Does itext support this?
I looked at the repo on github ( https://github.com/itext/itextpdf ) but it is hard to tell if there is support. Googling didn't turn up anything useful.

Thanks!


Solution

  • Since you mention Googling: when I Google for itext+jpeg2000,the first hit points to the API documentation: http://api.itextpdf.com/itext/com/itextpdf/text/Jpeg2000.html

    Since you mention our GitHub repository: searching for jpeg2000 in that repository, points to the class with the Jpeg2000 implementation: https://github.com/itext/itextpdf/blob/develop/src/main/java/com/itextpdf/text/Jpeg2000.java

    So the answer to your question is: yes.