Code Monkey home page Code Monkey logo

icepdf's Introduction

PDF4J ICEPDF

Fork of icepdf version 6.1.1 version with internal re-org and enhancements.

Part of re-org project has been moved to maven project structure. New modules introduced for better management and reuse.

Project Modules

  • core - Main ICEPDF core API with enhancements, it is pure java implementation to view Acrobat PDF files.
  • print - Simple Java API to print PDF from Java applications. For those who want use levigo jbig2 needs to manually build using gpl profile.
  • viewer - Java Swing based application to view Acrobat PDF files.
  • viewerapp - A bundled application of viewer, self contained jar with all dependent jars included. For those who want use levigo jbig2 needs to manually build using gpl profile.
  • examples - Some of java examples to use ICEPDF library
  • webviewer - A JSF 2.x based web application which uses ICEPDF library to view and transform.

CORE API

ICEPDF API, as is from SVN repository. Additional support classes are added to get clean compile of the project.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-core</artifactId>  
    <version>6.1.1</version>  
</dependency>  

PDF4J ICEPDF Print API

Simple Java POJO classes provides the ability to print support form java applications.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-print</artifactId>  
    <version>6.1.1</version>  
</dependency>  

Console Printing

Use command line to print PDF files silently.

For projects which cannot use GPL based library can use the Apache license version

java -jar pdf4j-icepdf-print-6.1.1-asl.jar -file "PDF File name" -printer "Printer Name"

For those who can use GPL, use GPL version. Make a note, this require manual build to activate gpl profile -Pgpl.

java -jar pdf4j-icepdf-print-6.1.1-gpl.jar -file "PDF File name" -printer "Printer Name"
Parameter details:
        -file     "pdf file name", required field
        -printer  "printer name", Optional default printer used when ignored
        -help      Print this usage help.

PDF4J Print API

This PDF4J ICEPDF Print API provide limited features for silent printing.

For more advanced print features and control, use PDF4J Print API which gives better print support and control.


PDF Java Viewer

ICEPDF Java Viewer, as is from SVN repository.

Maven dependency

<dependency>  
    <groupId>org.pdf4j.icepdf</groupId>  
    <artifactId>pdf4j-icepdf-viewer</artifactId>  
    <version>6.1.1</version>  
</dependency>  

Using Standalone Java Swing Viewer

Standalone PDF Viewer, with self contained classes in a single jar file. Use manual build to create GPL jar file.

java -jar pdf4j-icepdf-viewerapp-asl.jar

or

java -jar pdf4j-icepdf-viewerapp-gpl.jar

Manual Build for GPL use

For those who want use levigo jbig2 needs to manually build using gpl profile. Currently PRINT and VIEWER modules support these profile.

cd print 
or 
cd viewerapp

mvn clean package -Pgpl

License

ICEPDF is under Apache license (ASL).
All contributions and work performed by PDF4J Team is applicable under ASL 2.0
Some of the optional library are in eigher BSD or GPL license. Check moodules for information.


About Branches

This repository has three branches.

  • master - main sources
  • svn-icepdf - sources directly from svn repository
  • gh-pages - public web pages and documentation

icepdf's People

Contributors

srbala avatar ubala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

icepdf's Issues

OpenJDK 21 renders blank pages

When using OpenJDK 21, the pages are all empty, no exception fired or any other error message.
Works with OPenJDK11.

Any clues ?

Performance

Does this fork improve performance of PDF to image conversion (getPageImage) ?
Do you have examples of execution times ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.