Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3DE10200BC2 for ; Thu, 17 Nov 2016 13:14:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3C801160B0B; Thu, 17 Nov 2016 12:14:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6031A160AFF for ; Thu, 17 Nov 2016 13:14:45 +0100 (CET) Received: (qmail 36007 invoked by uid 500); 17 Nov 2016 12:14:44 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 35995 invoked by uid 99); 17 Nov 2016 12:14:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Nov 2016 12:14:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BA481C025A for ; Thu, 17 Nov 2016 12:14:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.781 X-Spam-Level: * X-Spam-Status: No, score=1.781 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=wiredinformatics-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 3tgE7XkxbDQT for ; Thu, 17 Nov 2016 12:14:41 +0000 (UTC) Received: from mail-qt0-f181.google.com (mail-qt0-f181.google.com [209.85.216.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6AB1D5F295 for ; Thu, 17 Nov 2016 12:14:41 +0000 (UTC) Received: by mail-qt0-f181.google.com with SMTP id p16so127194120qta.0 for ; Thu, 17 Nov 2016 04:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wiredinformatics-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:message-id:references:to; bh=0TWAp1eJNdZT0Kd/gx7E9b8uzJ9GXcnQwd25CTn2qsc=; b=v1+MDExha5jWqB1C+hVbIu1pneH6fALQqmX3D6+OvGxpij6jrxKqYqHIslmgHWQSg9 Ezs8G0/8hzk33nXIaoadlDFUH5wwnuA8TpntJs9+YPU1y/3AjSjuyeX9qP/qbSCx7gLM UeoliFs5WVzciMIEymL4C94HENY0zD5Z3sz/feVvQjkvlo+3BXUYh69imd8zCD7DsqjN fhOu/NgSsF+wwYAN58N+48sBSL/NbzKKkhnQ4kr0pEpYbIm64KCkiIW+B2pO+iS3RQYg hyFQtm7tzrXecUzIb+iT+aFZRa8pUmWI0eDqr3mX+nvmXOL9UVzOoaI4tXqLhSFulbdL 6+QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :message-id:references:to; bh=0TWAp1eJNdZT0Kd/gx7E9b8uzJ9GXcnQwd25CTn2qsc=; b=mr7lJPZHpOCratEHLgnS246bgV6VgKO0UCAVM9UfU70PJIRVgaK22RyzQnsmu/qACN RvaFrnB9N4Bcn27gp4X5s7m1MympPreXP15e9+XjTfScE2RRyjPa7Wg6kEic3l4rZdQG 6OVjKTcE2d+/jSAGs5UnZZ6/xyNk0JmAOeEjDLhhbWpQgCkHbj8+r1CXh8a5tsjG7XGF HswxKFD0f9x0g43Cyx+1u6UauGq7bNuGQ7p20LKgXDX3IWU7cNHv3koPK4WJaMfeobg2 w+HWv17qDBkfGTahy5CEcOY3JJ/CU2qmsQo9+1c4UaRT4q1N2Ixg0PNzovFr9YeZPZqK 9vmQ== X-Gm-Message-State: AKaTC010ye5nfAuF72Na9uF0sWx8nSKlvxQm3Fr1k5gkESSgIUyENKleoa/Md/CNVMjScA== X-Received: by 10.237.51.167 with SMTP id v36mr1805974qtd.46.1479384880112; Thu, 17 Nov 2016 04:14:40 -0800 (PST) Received: from [192.168.0.71] (c-50-136-31-163.hsd1.ma.comcast.net. [50.136.31.163]) by smtp.gmail.com with ESMTPSA id n191sm1300637qke.19.2016.11.17.04.14.37 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Nov 2016 04:14:39 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_646F7F90-8F50-47A0-AA9C-4CD864C1A047"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Apache PDFBox for PDFToImage X-Pgp-Agent: GPGMail From: britt fitch In-Reply-To: Date: Thu, 17 Nov 2016 07:14:38 -0500 Message-Id: <59B84C8F-4055-4679-86D5-2680956644E0@wiredinformatics.com> References: To: users@pdfbox.apache.org X-Mailer: Apple Mail (2.2104) archived-at: Thu, 17 Nov 2016 12:14:46 -0000 --Apple-Mail=_646F7F90-8F50-47A0-AA9C-4CD864C1A047 Content-Type: multipart/alternative; boundary="Apple-Mail=_D154B257-AAEC-40E4-B715-E10F703B31C2" --Apple-Mail=_D154B257-AAEC-40E4-B715-E10F703B31C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I wasn=E2=80=99t familiar with that class but it looks like its just a = main method wrapper. Here is an example doing something similar with ImageIOUtil class that = lets you specify output destination: = http://stackoverflow.com/questions/23326562/apache-pdfbox-convert-pdf-to-i= mages = Britt Fitch Wired Informatics 265 Franklin St Ste 1702 Boston, MA 02110 http://wiredinformatics.com Britt.Fitch@wiredinformatics.com > On Nov 17, 2016, at 4:00 AM, Ashish Bansal = wrote: >=20 > Hi, >=20 > I am using the PDFBox 2.0.3 jars in my application for converting the = PDF > to images. Thus I am using the PDFToImage command. I have read the > documentation but still I am not able to figure out that is there any = way > in which I can specify the destination location also. I want my images = to > get stored in a particular location, not the source location. Can you > please help me out here ? >=20 > Thanks & Regards, > -- > Ashish Bansal > Platform Engineer > Wooqer, Bangalore > INDIA --Apple-Mail=_D154B257-AAEC-40E4-B715-E10F703B31C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I wasn=E2=80=99t familiar with that class but it looks like = its just a main method wrapper. 

Here is an example doing something = similar with ImageIOUtil class that lets you specify output = destination: http://stackoverflow.com/questions/23326562/apache-pdfbox-conve= rt-pdf-to-images 


 
   
Britt Fitch
Wired Informatics
265 Franklin St Ste 1702
Boston, MA 02110
http://wiredinformatics.com
Britt.Fitch@wiredinformatics.com

On Nov 17, 2016, at 4:00 AM, Ashish Bansal <ashish18bansal@gmail.com> wrote:

Hi,

I am using the PDFBox 2.0.3 jars in my application for = converting the PDF
to images. Thus I am using the = PDFToImage command. I have read the
documentation but = still I am not able to figure out that is there any way
in = which I can specify the destination location also. I want my images = to
get stored in a particular location, not the source = location. Can you
please help me out here  ?

Thanks & Regards,
--
Ashish Bansal
Platform Engineer
Wooqer, Bangalore
INDIA

= --Apple-Mail=_D154B257-AAEC-40E4-B715-E10F703B31C2-- --Apple-Mail=_646F7F90-8F50-47A0-AA9C-4CD864C1A047 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJYLZ8vAAoJEN9mP6PnnMibxlUH+wfW5UE4lcoUP5bCMEvfqYQ7 zj/9I4qRDQhSgi+E1kbmYfoLKGJCn7jm4XSvAhWbmY2B0KQzVPyIjBQzSna11lPH H/jCldrv99Tn5dyzZyahgHjTmYk15nY1TkxZqmAHG4W4X0EAOH28dQxvrEubs1f1 rSeiPf3eUppY5asv1UYfaX2rHjhfYzEn2iu4c3OAWewprmrtUxh/spNMDMzw4yaH vqSd1X8DW6M7+MGQjBbvDRg5el8uZjNgxTZmdXM6WQLhKVxqDtzTzrkWBG61zC47 8rT93cy9iu34jI2wSe0q3wSYbxDV3YscVj0O55PDkz/7f6f4Ey1HiQofXb4Npcw= =Ffcd -----END PGP SIGNATURE----- --Apple-Mail=_646F7F90-8F50-47A0-AA9C-4CD864C1A047--