From users-return-11445-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Fri Feb 15 12:10:50 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B4364180651 for ; Fri, 15 Feb 2019 13:10:49 +0100 (CET) Received: (qmail 25059 invoked by uid 500); 15 Feb 2019 12:10:48 -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 25034 invoked by uid 99); 15 Feb 2019 12:10:48 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2019 12:10:48 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A1B8DC0313 for ; Fri, 15 Feb 2019 12:10:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.844 X-Spam-Level: **** X-Spam-Status: No, score=4.844 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, MISSING_MIMEOLE=1.843, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xXZ5flwl2v0n for ; Fri, 15 Feb 2019 12:10:45 +0000 (UTC) Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 9E16F62203 for ; Fri, 15 Feb 2019 12:10:45 +0000 (UTC) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout03.t-online.de (Postfix) with SMTP id A9893423B60E for ; Fri, 15 Feb 2019 13:10:39 +0100 (CET) Received: from spica16.aul.t-online.de (VazEu6ZSYhOz8sO3Zc6+leYy0ahYGVhAaC3RtneFQCJTLi-j+t17KTRuYlx4ZSwg59@[172.20.102.123]) by fwd24.aul.t-online.de with esmtp id 1gucJ6-1eC8vI0; Fri, 15 Feb 2019 13:09:28 +0100 Received: from 80.187.103.154:44679 by spica16.aul.t-online.de:8080; Fri, 15 Feb 2019 13:09:28 +0100 (CET) Date: Fri, 15 Feb 2019 13:09:28 +0100 (CET) From: Tilman Hausherr Sender: Tilman Hausherr To: "users@pdfbox.apache.org" Message-ID: <1550232568202.2458922.b88bca2bc92d92c947b8c71752699608ea27b5a9@spica.telekom.de> In-Reply-To: References: <1550231697750.2456592.28c36f063c71148143b96c31ccaf30a3f770ea77@spica.telekom.de> Subject: AW: Re: About Stream MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3034316_645456473.1550232568269" Importance: normal X-MSMail-Priority: normal X-Priority: 3 X-ID: VazEu6ZSYhOz8sO3Zc6+leYy0ahYGVhAaC3RtneFQCJTLi-j+t17KTRuYlx4ZSwg59@t-dialin.net X-TOI-MSGID: 60bbe41b-ddb8-40cc-8884-b01b5eed6b20 ------=_Part_3034316_645456473.1550232568269 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Annex A, page 643. Tilman ------------------------------------------------------------------------ Gesendet mit der Telekom Mail App --- Original-Nachricht --- Von: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D0=BE=D1=80=D0=BE=D0= =BB=D1=8C Betreff: Re: About Stream Datum: 15.02.2019, 13:07 Uhr An: users@pdfbox.apache.org Not found "operator summary" in this PDF. Where it is? =D0=BF=D1=82, 15 =D1=84=D0=B5=D0=B2=D1=80. 2019 =D0=B3. =D0=B2 17:03, Tilma= n Hausherr >: > yes, click on "operator summary" in the PDF 32000 specification. > > There are probably easier ways to do whatever you want.... see the > examples > subproject in the source code download. > > Tilman > > > ------------------------------------------------------------------------ > Gesendet mit der Telekom Mail App > < >=20 https://kommunikationsdienste.t-online.de/redirects/email_app_android_sendm= ail_footer > > > > > > --- Original-Nachricht --- > Von: =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 =D0=9A=D0=BE=D1=80=D0=BE= =D0=BB=D1=8C > Betreff: About Stream > Datum: 15.02.2019, 6:54 Uhr > An: users@pdfbox.apache.org > > > > > > Hello. I trying this code: > PDDocument documentpdf =3D PDDocument.load(new File("file.pdf")); > PDPage page =3D documentpdf.getPage(0 < http://documentpdf.getPage(0> > ; ); > Iterator contentStreams =3D page.getContentStreams > > ; (); > while(contentStreams.hasNext()) > { > PDStream next =3D contentStreams.next < http://contentStreams.next> > ; (); > COSStream cosObject =3D next.getCOSObject < http://next.getCOSObject> > ; (); > cosObject.toTextString < http://cosObject.toTextString> > ; () > } > So i get stream from PDF (Returns the contents of the stream as a PDF=20 "text > string".) . > What meanin this content? I try to parse it for some image settings.=20 Where > i can read about format of tis content? Maybe in PDF specs? > ------=_Part_3034316_645456473.1550232568269--