|
Thad
Thanks for that. I have downloaded the file into my server. But I am still having problems. I am not a java programmer. I use java standalone binaries like PDFBox as a tool to help with specific projects. I have used it for quite a while to Extract Text. We take the text files and process the data within with great success.
In this case I am trying to extract the TIFF image.
Currently I am trying to get it to work on my PC and not the server.
My java directory has the following files:
Directory of C:\java
2016-07-05 10:27 AM <DIR> .
2016-07-05 10:27 AM <DIR> ..
2016-06-30 07:44 AM 1,140,632 jai-imageio-1.1.jar
2016-06-16 12:55 PM 44,035 Maxfield.pdf
2016-06-09 03:04 PM 7,942,473 pdfbox-app-2.0.2.jar
Then I run the following to set my class path.
set CLASSPATH=C:\java
Then I run the PDFBox command to the extract the TIFF image.
java -jar pdfbox-app-2.0.2.jar ExtractImages Maxfield.pdf
This is what I get when I run the command.
Writing image: Maxfield-1
Jul 05, 2016 10:18:46 AM org.apache.pdfbox.tools.imageio.ImageIOUtil
writeImage
SEVERE: No ImageWriter found for 'tiff' format Jul 05, 2016 10:18:46
AM org.apache.pdfbox.tools.imageio.ImageIOUtil writeImage
SEVERE: Supported formats: JPG jpg bmp BMP gif GIF WBMP png PNG wbmp
jpeg JPEG
Why is not finding the jai-imageio-1.1.jar file?
My guess it is something simple. I think my lack of understanding of Java is causing the problem.
Thanks
Gordon
-----Original Message-----
From: Thad Humphries [mailto:thad.humphries@xxxxxxxxx <mailto:thad.humphries@xxxxxxxxx>]
Sent: June 29, 2016 7:26 AM
To: users@xxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxx>
Subject: Re: ExtractImage TIFF
http://logicaldoc.sourceforge.net/maven/javax/media/jai-imageio/1.1/ <http://logicaldoc.sourceforge.net/maven/javax/media/jai-imageio/1.1/>
On Wed, Jun 29, 2016 at 1:21 AM, Tilman Hausherr
<THausherr@xxxxxxxxxxx <mailto:THausherr@xxxxxxxxxxx>>
wrote:
Am 29.06.2016 um 00:29 schrieb Gordon Schneider:
Tilman
Thanks for the quick response. I have tried a couple of times to
find the jai_imageio.jar file to download to our server with no success.
Where can you get this file to download?
https://stackoverflow.com/questions/7502181/where-can-i-download-jai- <https://stackoverflow.com/questions/7502181/where-can-i-download-jai->
a
nd-jai-imageio
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.