PDF/A version | Conformance level | Class type | Severity |
---|---|---|---|
1, 2, 3 | bua | Conformance | 5 |
The PDF/A document has alternative or proxy versions of an image, for example, a preview version in lower quality of an image.
... Add Alternate image to an existing one. The alternate can be any other image object in the document.
- Create PDF with two images on canvas (for example in Adobe)
- Find object numbers for both images: /Page -> /Resources -> /XObject (for example - Image1=12 0 obj, Image2=13 0 obj)
- Create new object which will be used as /Alternate dictioanry
- Go to an object that describes the first image
- Add the key /Alternates (array type) with the link to object which was created at third step (e.g. /Alternates [15 0 R])
- Go to object which was created at third step
- Add the key /Image with link on the second image. This object would looks like 15 0 obj <</Image 13 0 R>> endobj
- Find Page content stream: /Page -> /Contents
- Go to page content stream
- Find operator which Invoke named XObject (second image) Note: name of the second image you can find in page resources dictionary
- Remove this operator from page content stream
- Update length of content stream, xref table and trailer
ISO 32000-1:2008, p. 212.