programing

코드 작성자를 위한 PDF 사양:Adobe 또는 ISO?

prostudy 2022. 4. 28. 20:34
반응형

코드 작성자를 위한 PDF 사양:Adobe 또는 ISO?

PDF 문서를 읽고 디코딩할 수 있는 응용프로그램을 코드화하려고 하는데, 이제 이 파일 형식에 대한 사양을 어디서 얻어야 하는지요?PDF 형식은 ISO 그룹으로부터 표준화 되어 있지만, 이런 종류의 정보를 얻기 위한 가장 신뢰할 수 있는 출처가 어디인지는 나에게 명확하지 않다.

이 파일 포맷으로 시작하기에 좋은 소스는 무엇인가?

당신은 실제로 당신이 말한 두 가지 출처를 사용할 수 있다; 혼란은 역사적인 것이다.

Adobe는 PDF를 발명했고 함께 사용할 Acrobat 제품군을 발명했다.주요 Acrobat 버전과 함께 다른 PDF 버전이 함께 출시되었다(예를 들어 PDF 1.3은 Acrobat 4와 함께 출시되었다).

PDF 형식의 채택으로 인해, 그리고 (ISO 표준에 있어서 쉽지 않은) 독점 PDF 파일 형식에 실제로 의존하는 많은 ISO 표준이 작성되었기 때문에, Adobe는 PDF 형식을 ISO에 넘기기로 결정했다.

그 시점부터 오늘까지 PDF 명세서를 편집하고 새로운 버전을 고안하는 ISO 위원회가 있다.PDF의 ISO 표준은 ISO 32000이다.

또한 PDF를 사용하려는 위치에 따라 다른 여러 ISO 표준이 매우 유용하거나 필수적일 수 있다는 점을 유념하십시오.가장 일반적으로 사용되는 PDF/X(출판계의 PDF 파일 교환용)와 PDF/A(장기 저장소에 보관해야 하는 PDF 파일 생성용)가 있다.이 규격은 PDF 표준의 특정 버전을 참조하고 추가 요건과 제한을 추가한다.

규격에 관한 한 ISO에서 직접 모든 문서를 입수할 수 있다.그러나 PDF 자체는 Adobe에서 받을 수 있으며 그 문서는 동일할 것이다.Acrobat의 Adobe DevNet 사이트를 참조하십시오.

http://www.adobe.com/devnet/acrobat.html

Acrobat SDK를 다운로드하기만 하면 그 일부분으로 설명서가 제공된다.

코드에서 "PDF 사양 타겟팅"에 주의할 점을 추가하겠다.나는 정말로 정말로 당신에게 PDF(편집, 생성, 품질 관리(사전 비행))에 대한 니즈가 무엇인지 좀 더 명확하게 명시하고 그런 니즈를 충족시키거나 당신의 니즈를 충족시키기 위해 확장될 수 있는 기존 라이브러리를 찾거나 물어보라고 충고한다.

Writing something that supports "PDF" in general will be a daunting task. The PDF specification is large, intricate and full of... well... niceties. There be dragons!


Update:

Direct link to Adobe's PDF-1.7 specification document (first edition, free to download, is here:

The content of this document later became officially adopted as the ISO standard for general PDF, ISO 32000-1.

Note however, that there are a few differences to the PDF file available from ISO:

If you start developing PDF software, it is sufficient to have (free) PDF from above Adobe link around.


Update: 2021

It's worth noting that ISO meanwhile released a new version of the PDF specification, called ISO 32000-2. Information about this on the ISO site. This new version was published in 2017 and received an update in December 2020.

While the document does not dramatically alter PDF, and most of the general information about PDF from for example the free Adobe version of the specification will still be correct, there are definitely changes:

  • Many things, especially deeply technical things such as everything on transparency, received an update, mostly to clarify existing language (and add information that was up to now more or less implicit). These updates may have an effect on how to implement or use those parts of the standard.
  • New features have been included in the standard.

If you're writing PDF files, especially more simple ones, the Adobe specification should still be OK to get you going. If you want to support everything in the PDF standard, you'll need to pay for the latest ISO version (but that is a tall order anyway).

PDF is not a lightweight format. It is basically postscript with compression on top. An existing library is definitely what you want to use, not write your own. It's a huge task.

또는 기존 PDF 작성기 응용프로그램을 가져와서 프로그램 내에서 시작하십시오.

별로 보지는 않았지만 libgnupdf는 괜찮아 보인다.

위키피디아에 따르면 PDF는 다음과 같은 세 가지 기술을 결합한다.

  • 레이아웃 및 그래픽 생성을 위한 PostScript 페이지 설명 프로그래밍 언어의 하위 집합.
  • 글꼴이 문서와 함께 이동하도록 허용하는 글꼴 내장/교체 시스템.
  • 적절한 경우 데이터 압축을 통해 이러한 요소와 관련 콘텐츠를 단일 파일로 번들로 묶는 구조화된 스토리지 시스템.

참조URL: https://stackoverflow.com/questions/14111831/pdf-specifications-for-coders-adobe-or-iso

반응형