From users-return-11443-archive-asf-public=cust-asf.ponee.io@pdfbox.apache.org Fri Feb 15 12:03:53 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 7A056180651 for ; Fri, 15 Feb 2019 13:03:52 +0100 (CET) Received: (qmail 4437 invoked by uid 500); 15 Feb 2019 12:03:51 -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 4416 invoked by uid 99); 15 Feb 2019 12:03:50 -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; Fri, 15 Feb 2019 12:03:50 +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 4B4D3CD4D0 for ; Fri, 15 Feb 2019 12:03:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.843 X-Spam-Level: **** X-Spam-Status: No, score=4.843 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, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled 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 QfttnzkgNcg4 for ; Fri, 15 Feb 2019 12:03:48 +0000 (UTC) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BEEC95FDA3 for ; Fri, 15 Feb 2019 11:56:04 +0000 (UTC) Received: from fwd32.aul.t-online.de (fwd32.aul.t-online.de [172.20.26.144]) by mailout11.t-online.de (Postfix) with SMTP id AE83B421A288 for ; Fri, 15 Feb 2019 12:56:03 +0100 (CET) Received: from spica16.aul.t-online.de (rIagMqZOohRjZ-G2+vKLsAKsl8dp72Iy2QRBRIP+sG9MkKUKyVhUxocxpaS7nrJZW2@[172.20.102.128]) by fwd32.aul.t-online.de with esmtp id 1guc53-0WxOQi0; Fri, 15 Feb 2019 12:54:57 +0100 Received: from 80.187.118.29:29899 by spica16.aul.t-online.de:8080; Fri, 15 Feb 2019 12:54:57 +0100 (CET) Date: Fri, 15 Feb 2019 12:54:57 +0100 (CET) From: Tilman Hausherr Sender: Tilman Hausherr To: "users@pdfbox.apache.org" Message-ID: <1550231697750.2456592.28c36f063c71148143b96c31ccaf30a3f770ea77@spica.telekom.de> In-Reply-To: References: Subject: AW: About Stream MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3031521_1370484313.1550231697869" Importance: normal X-MSMail-Priority: normal X-Priority: 3 X-ID: rIagMqZOohRjZ-G2+vKLsAKsl8dp72Iy2QRBRIP+sG9MkKUKyVhUxocxpaS7nrJZW2@t-dialin.net X-TOI-MSGID: 3610bf19-1c0a-4174-a479-9bfe85a6fdf2 ------=_Part_3031521_1370484313.1550231697869 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable yes, click on "operator summary" in the PDF 32000 specification. There are probably easier ways to do whatever you want.... see the examples= =20 subproject in the source code download. 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: 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 ); Iterator contentStreams =3D page.getContentStreams (); while(contentStreams.hasNext()) { PDStream next =3D contentStreams.next (); COSStream cosObject =3D next.getCOSObject (); cosObject.toTextString () } So i get stream from PDF (Returns the contents of the stream as a PDF "text string".) . What meanin this content? I try to parse it for some image settings. Where i can read about format of tis content? Maybe in PDF specs? ------=_Part_3031521_1370484313.1550231697869--