pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Schneider <schneid...@transampiping.com>
Subject RE: ExtractImage TIFF
Date Tue, 05 Jul 2016 16:32:24 GMT
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@gmail.com] 
Sent: June 29, 2016 7:26 AM
To: users@pdfbox.apache.org
Subject: Re: ExtractImage TIFF

http://logicaldoc.sourceforge.net/maven/javax/media/jai-imageio/1.1/

On Wed, Jun 29, 2016 at 1:21 AM, Tilman Hausherr <THausherr@t-online.de>
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-a
> nd-jai-imageio
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>


--
"Hell hath no limits, nor is circumscrib'd In one self-place; but where we are is hell, And
where hell is, there must we ever be" --Christopher Marlowe, *Doctor Faustus* (v. 121-24)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

Mime
View raw message