ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* issue with external image and PDF/A-3a
@ 2017-10-05 18:18 Pablo Rodriguez
  2017-10-05 19:05 ` luigi scarso
  0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-10-05 18:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have this minimal sample:

    \setupbackend
      [format=PDF/A-3a,
       intent=sRGB IEC61966-2.1,
       profile={sRGB.icc,default_gray.icc},
       level=0]

    \setuptagging[state=start]

    \setupcolors[cmyk=no]

    \startTEXpage[offset=1em]
    \externalfigure[transparent]
    \stopTEXpage
    \stoptext

The external figure is available from
http://pdf.ousia.tk/transparent.pdf (and output file at
http://pdf.ousia.tk/transparent-pdf-a-3a.pdf).

Using veraPDF (http://verapdf.org/), the output document doesn’t comply
with the validation profile requirements.

As Luigi wisely predicted, external images may be problematic.

I get one error, because of the color of the external figure:
https://github.com/veraPDF/veraPDF-validation-profiles/wiki/PDFA-Parts-2-and-3-rules#rule-6243-2.

The PDF object in question is the following:

    12 0 obj
    <<
      /Type /XObject
      /Subtype /Form
      /FormType 1
      /BBox [ 0 0 316.896 215.5669 ]
      /Group <<
        /Type /Group
        /S /Transparency
        /I true
        /CS /DeviceRGB
      >>
      /Resources 21 0 R
      /Length 71
    >>
    stream
    q
    0.188235 0.392157 0 rg /a0 gs
    28.348 187.219 260.203 -158.871 re f
    Q
    endstream
    endobj

Well, this is a minimal sample, but my real document is much bigger. Is
there any way to convert the stream to something that ConTeXt can handle
directly?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-10-10 20:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-05 18:18 issue with external image and PDF/A-3a Pablo Rodriguez
2017-10-05 19:05 ` luigi scarso
2017-10-05 20:40   ` Pablo Rodriguez
2017-10-05 20:52     ` installing ConTeXt on ARM linux Floris van Manen
2017-10-06  6:31       ` Hans Hagen
2017-10-06  7:10       ` Mojca Miklavec
2017-10-06  9:46         ` Hans Hagen
2017-10-06 10:37           ` Floris van Manen
2017-10-06 11:42             ` Risposta: " MF
2017-10-06 12:57               ` Hans Hagen
2017-10-06 14:06               ` Floris van Manen
2017-10-06 14:42                 ` Risposta: " MF
2017-10-10 14:35     ` issue with external image and PDF/A-3a Peter Rolf
2017-10-10 20:15       ` Pablo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).