From 5b72e6aad1a6bb336ac5dadcc5c8cc8edaef4694 Mon Sep 17 00:00:00 2001 From: petervwyatt <26521615+petervwyatt@users.noreply.github.com> Date: Sat, 27 Apr 2024 12:10:54 +1000 Subject: [PATCH] Resolve #366 --- docs/32000-2-2020/clause07.md | 40 ++++++++++++++++++++++++++++++++++- docs/32000-2-2020/clause08.md | 24 +++++++++++++++++++++ docs/32000-2-2020/index.md | 1 + 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/docs/32000-2-2020/clause07.md b/docs/32000-2-2020/clause07.md index 80460c5..ca08f85 100644 --- a/docs/32000-2-2020/clause07.md +++ b/docs/32000-2-2020/clause07.md @@ -3,7 +3,7 @@ subset: PDF 2.0 isodoc: ISO 32000-2:2020 clause: 7 title: Syntax -modified: 25 April 2024 +modified: 27 April 2024 --- +

7.4.4 LZWDecode and FlateDecode filters

+ +

...

+ +

7.4.4.3 LZWDecode and FlateDecode parameters

+ +

...

+ +

Change Table 8 as follows:

+ + + + + + + + + + + + + +
Table 8 - Optional parameters for LZWDecode and FlateDecode filters
KeyTypeValue
BitsPerComponentinteger +

(May be used only if Predictor is greater than 1) The number of bits used to represent each colour component in a sample. + Valid values are 1, 2, 4, 8, and (PDF 1.5) 16. Default value: 8. +

+

+ NOTE there is no relationship between this parameter and the similarly named key in image dictionaries. +

+
+ +

7.4.9 JPXDecode filter

Change paragraph below NOTE 5 as follows:

diff --git a/docs/32000-2-2020/clause08.md b/docs/32000-2-2020/clause08.md index 59d66af..670eafd 100644 --- a/docs/32000-2-2020/clause08.md +++ b/docs/32000-2-2020/clause08.md @@ -399,6 +399,30 @@ indicates that the corresponding colour component shall never be painted on the Type Value + + BitsPerComponent + integer + +

+ (Required except for image masks and images that use the JPXDecode filter) The number of bits used to represent each colour component. + Only a single value shall be specified; the number of bits shall be the same for all colour components. The value shall be 1, 2, + 4, 8, or (from PDF 1.5) 16. If ImageMask is true, this entry is optional, but if specified, its + value shall be 1. +

+

+ If the image stream uses a filter, the value of BitsPerComponent shall be consistent with the size of the data samples that the filter + delivers. In particular, a CCITTFaxDecode or JBIG2Decode filter shall always deliver 1-bit samples, a RunLengthDecode or + DCTDecode filter shall always deliver 8-bit samples, and an LZWDecode or FlateDecode filter shall deliver samples of + a + the + specified size if a predictor function is used. +

+

+ If the image stream uses the JPXDecode filter, this entry is optional and shall be ignored if present. The bit depth is determined by + the PDF processor in the process of decoding the JPEG 2000 image. +

+ + Intent name diff --git a/docs/32000-2-2020/index.md b/docs/32000-2-2020/index.md index cd79f0b..adae16a 100644 --- a/docs/32000-2-2020/index.md +++ b/docs/32000-2-2020/index.md @@ -26,6 +26,7 @@ All issues related to {{ page.subset }} are recorded in the PDF Association's The following tables have all been corrected: