From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: issue with external image and PDF/A-3a
Date: Thu, 5 Oct 2017 21:05:42 +0200 [thread overview]
Message-ID: <CAG5iGsBM+Nr8+BD_GbAeHrOEpzacxk1Dm-abYPWxMYRBSdvczg@mail.gmail.com> (raw)
In-Reply-To: <6a830974-d7f9-3ad3-aa58-542c201173e8@gmx.es>
On Thu, Oct 5, 2017 at 8:18 PM, Pablo Rodriguez <oinos@gmx.es> wrote:
> 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?
hm, the only reliable way that I know w is to convert it to a flattened png
$> convert transparent.pdf -density 300 -colorspace RGB -flatten transparent.png
--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-10-05 19:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 18:18 Pablo Rodriguez
2017-10-05 19:05 ` luigi scarso [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG5iGsBM+Nr8+BD_GbAeHrOEpzacxk1Dm-abYPWxMYRBSdvczg@mail.gmail.com \
--to=luigi.scarso@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).