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 E5C3A200C03 for ; Sat, 21 Jan 2017 08:40:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D9B9B160B4A; Sat, 21 Jan 2017 07:40:33 +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 06480160B3C for ; Sat, 21 Jan 2017 08:40:32 +0100 (CET) Received: (qmail 32619 invoked by uid 500); 21 Jan 2017 07:40:31 -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 32606 invoked by uid 99); 21 Jan 2017 07:40:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jan 2017 07:40:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 53E761A03AB for ; Sat, 21 Jan 2017 07:40:30 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=outlook.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nt9EmhcGl2aL for ; Sat, 21 Jan 2017 07:40:28 +0000 (UTC) Received: from SNT004-OMC2S40.hotmail.com (snt004-omc2s40.hotmail.com [65.54.61.91]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 9CBF75F3BA for ; Sat, 21 Jan 2017 07:40:27 +0000 (UTC) Received: from NAM04-CO1-obe.outbound.protection.outlook.com ([65.55.90.73]) by SNT004-OMC2S40.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 20 Jan 2017 23:40:21 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AguqrCkNccLJIOlfa07Tk+A+j5fGgZ/NRfIT/4pNZAs=; b=Eple+tKasyvgIVYrJTosopW4sN0p75svA5IbgVoLfLBYCVlRsmtyU2eccGZvhLbP55LJCPcUosWsC5x8RHaytVW+l/MTcixII87ZwF9JmCDMOU0KYf40O0zdRD1/6mU4G31nhh5jLd5Pq6h3nIcHqYdyqnqktg7G+xZMIIxIxO3WNpUC9HDMiBHGjk0eMD+73p80ncYHxOXDQTvv6DcvF1I2FmEHvT8alyvkzlGVrrjMFd6ktJIIwgz4rPDuCWyrZ4v+tExsSb44Yk4m+l9WYSVlQqGrdUmU5mdgMm2Pm6NP2paXAC/MzgYQD1ZHUqlIiy/dHMUpD+sYiD2G+17YHQ== Received: from SN1NAM04FT064.eop-NAM04.prod.protection.outlook.com (10.152.88.51) by SN1NAM04HT089.eop-NAM04.prod.protection.outlook.com (10.152.89.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8; Sat, 21 Jan 2017 07:40:20 +0000 Received: from BN6PR06MB2995.namprd06.prod.outlook.com (10.152.88.55) by SN1NAM04FT064.mail.protection.outlook.com (10.152.89.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Sat, 21 Jan 2017 07:40:20 +0000 Received: from BN6PR06MB2995.namprd06.prod.outlook.com ([10.175.128.149]) by BN6PR06MB2995.namprd06.prod.outlook.com ([10.175.128.149]) with mapi id 15.01.0860.012; Sat, 21 Jan 2017 07:40:20 +0000 From: Harry Yoon To: "users@pdfbox.apache.org" Subject: Re: PDF/X-1a? Thread-Topic: PDF/X-1a? Thread-Index: AQHSc3IFPZgh51m4wk2QCXm9X2KY+6FCeyEAgAAHtYCAAAQSJw== Date: Sat, 21 Jan 2017 07:40:20 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: pdfbox.apache.org; dkim=none (message not signed) header.d=none;pdfbox.apache.org; dmarc=none action=none header.from=outlook.com; x-incomingtopheadermarker: OriginalChecksum:8DD0C699EE6823DCDD629B7C2599E00C7D3614FA633F183BF2BEFB769B282A94;UpperCasedChecksum:BB0C1915B34D8AC98AA1BF8516145727FA869D21AFDC029ABCB34AFD3F2AB1B4;SizeAsReceived:7653;Count:38 x-tmn: [C6Ca0CpZ2qt1jyTjAYpGTSbu7YScgrQh] x-incomingheadercount: 38 x-eopattributedmessage: 0 x-microsoft-exchange-diagnostics: 1;SN1NAM04HT089;7:HSz+nu6Q38jpeg8TAGQutfpR4c2UoJetqvmod2cLkYu9Yyno/qZFAK33L6MM90koArBXXfNtCE4ZxlEvRFVV24T5jGKgHuJWra9xIwB5cbBObBmQdegV2k9oTL8V6aPFhZPx6aUAguhd3coyzr8dFsNEWg3Xqtx54jW3q5bwG6Prs4754PIOajPKEycGk7E/wNsQ1xW5LcUob/Lm3STxTKXhY2iJhRErWflLFA+AQm0WofjFhmJ2imYkZI7iPmN68SwNKsxYKx0GsyKc6Mv+gDT0dPBGJTVt9MfJegJYZ0IQ6tgvsDMl9ZeSfBvBWDwjF49Ixcsn8hMwaYDinKoW3Xdjqfa0ojVk07Kow5oz3l7cBCb0mS302GKxWXfGRHM/NkrYjiGeecpJccV6g15pPJNpHvkzT53kwZBvxFp2LXIH6Almx+yv7dl06jyuktDsNaHeaNd0cMhJPGBBBPeXtg== x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(10019020)(98900005);DIR:OUT;SFP:1102;SCL:1;SRVR:SN1NAM04HT089;H:BN6PR06MB2995.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: fd0b1d92-884b-41bd-bb71-08d441d0c07d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(1601124038)(5061506344)(1603103113)(1603101340)(1601125047)(1701031023);SRVR:SN1NAM04HT089; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444111334)(444112120)(432015012)(82015046);SRVR:SN1NAM04HT089;BCL:0;PCL:0;RULEID:;SRVR:SN1NAM04HT089; x-forefront-prvs: 01949FE337 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_BN6PR06MB29956DD4D5D734061E9E7B9DB6700BN6PR06MB2995namp_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2017 07:40:20.3840 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1NAM04HT089 X-OriginalArrivalTime: 21 Jan 2017 07:40:21.0691 (UTC) FILETIME=[9EC350B0:01D273B9] archived-at: Sat, 21 Jan 2017 07:40:34 -0000 --_000_BN6PR06MB29956DD4D5D734061E9E7B9DB6700BN6PR06MB2995namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Tilman, Thanks for the answer. My knowledge of PDF is rather limited (I've been researching only for the l= ast few days), but yes, I understand that I have to create a standards-comp= liant doc using the APIs. It seems that the requirements for PDF/X-1a are g= enerally easy to satisfy, maybe except for CMYK colors. I am not sure why i= t is harder than other requirements, but I hear that ghostscript tool ps2pd= f, for instance, cannot currently convert a ps/pdf to a fully compliant PDF= /X-1a pdf because of this CMYK requirement. I presume that PDFBox does not = have such limitations? Just to follow up, can PDFBox be used to convert an existing pdf to PDF/X-1= a conformant pdf (in addition to generating a PDF/X-1a conformant pdf from = scratch)? If so, is there a facility in PDFBox to make this task easier? Or= , is it just a manual process going through the original pdf (after parsing= ) and re-generating output pdf (enforcing the requirements)? Thanks, ~Harry ________________________________ From: Tilman Hausherr Sent: Saturday, January 21, 2017 7:06:19 AM To: users@pdfbox.apache.org Subject: Re: PDF/X-1a? Am 21.01.2017 um 07:38 schrieb Tilman Hausherr: > Am 21.01.2017 um 00:11 schrieb Harry Yoon: >> Hi, >> >> >> I'm new to PDFBox. I'm currently trying to figure out how to generate >> PDF/X-1a conformant PDF using PDFBox. I found some references related >> to PDF/A validation using PDFBox, but none pertinent to PDF/X. >> >> >> Is it possible to use PDFBox to generate PDF/X-1a compliant PDF docs? >> Or, at least to validate PDF files against PDF/X-1a standards? > > Yes it is possible to use PDFBox to generate PDF/A-1a compliant docs. > Just read the standard ( this https://en.wikipedia.org/wiki/PDF/X > gives a preview) and respect the requirements. No, PDFBox doesn't have > a validator for that. To clarify this - PDFBox is rather low level, i.e. you have to know a bit about PDF itself. There isn't switch in PDFBox that sets PDF/A-1a compatibility. To see what I mean, have a look at the CreatePDFA.java example. This isn't what you need, but it shows what extra work is to be done for that standard, e.g. output intents and XMP. More on PDF/A here https://www.pdfa.org/pdfa-faq/ Tilman --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org --_000_BN6PR06MB29956DD4D5D734061E9E7B9DB6700BN6PR06MB2995namp_--