On 10/09/2017 08:16 PM, Hans Hagen wrote:
On 10/8/2017 11:09 AM, Pablo Rodriguez wrote:
[...] PDF/A-3a validation (http://verapdf.org) warns about XObjects not having any ICC profile.
Would it be possible to add the "profile" key to \externalfigure, so that each figure may have its own profile (or the reference to the profile) added?
i looked into it and it's not going to happen
(1) we don't interpret the included images
(2) and even if we could mess with the either or not present resource getting the resource from someplace (main document, upstream object) is dubious and fragile too
Many thanks for your reply and for analyzing the issue, Hans. I know this is a compromise solution. Of course, I cannot expect from ConTeXt to assign the right profile to the image. The user is the one that might mess the final PDF document by selecting the wrong color profile for \externalfigure. But this possibility is already there with the profile key in \setupbackend. Choosing the right profiles is up to the user. Wrong attribution causes unvalid documents, but attribution is a user task. Explaining this information in the wiki is essential to clarify that “feature”. (I can do that myself.) Having this in mind, could you reconsider the implementation of the profile key implemented for \externalfigure? Many thanks for your help, Pablo -- http://www.ousia.tk