On 10/24/2017 8:21 PM, Pablo Rodriguez wrote:
On 10/24/2017 07:51 PM, luigi scarso wrote:
On Tue, Oct 24, 2017 at 7:42 PM, Pablo Rodriguez wrote:
But replacing vectors with bitmaps is a way of avoiding the issue, not of fixing it (if this needs to be fixed).
yes, it's a clean way to resolve a problem that could not be solvable. The point is that is more easy to make a correct pdf than fix an arbitrary pdf to make it conform to the document
If the document is invalid, I totally agree with you, there is nothing to fix there.
After analyzing cow.pdf, the issue is in that file. Of course, I didn’t mean to fix invalid documents.
Although I think that there might be an issue with the way that LuaTeX (or ConTeXt, I don’t know) inserts form xobjects with CMYK colors in a PDF document.
It adds them a color space that (I think) makes it impossible that an icc profile can be referred to the form xobject. Are you sure? The image is included as is. Nothing is added to its resource and as i mentioned a while ago, that's also beyond the engine.
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------