Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Convert Image to PDF with FOP
How to convert an image file into a PDF file with FOP?
✍: FYIcenter.com
FOP allows you to convert a single image file into a PDF file
without any XSL-FO format file.
Here is how to do this:
fyicenter> cd \local\fop-2.x\fop fyicenter> fop -imagein examples\fo\graphics\page.gif \temp\page.pdf ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1.
The output PDF file is located at \temp\page.pdf.
Open it with a PDF viewer, you will see something like this:
⇒ "FOP -awt" - Generate Output on Screen
2016-07-03, 3130👍, 0💬
Popular Posts:
What Is commons-logging-1.2.jar? commons-logging-1.2.jar is the JAR file for Apache Commons Logging ...
What Is mail.jar of JavaMail 1.4.2? I got the JAR file from javamail-1.4.2.zip. mail.jar in javamail...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
What Is in Xerces-J-bin.2.12.2.zip? Xerces-J-bin.2.12.2.zip file is the distribution package ZIP fil...