Re: [graphviz-interest] Placed JPEG has black for pure white in PDF

paul womack <[email protected]> Tue, 21 Jan 2014 09:09:50 +0000
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
paul womack wrote:
> I'm sorry about this guys - I seem to be finding a lot of corner cases.
>
> Here's my latest fault.
>
> echo 'digraph{a [label=<<TABLE><TR><TD WIDTH="50" HEIGHT="50" FIXEDSIZE="TRUE"><IMG SCALE="TRUE" SRC="vig.jpg"/></TD></TR></TABLE>>]}' | dot -Tpdf > t.pdf
>
> I've attached the vignette image, which is just a black to white fade, top left to bottom right.
>
> When placed in PDF (as above), the bottom right comes out BLACK. Oddly, if the output is PNG, it's OK.

And when the placed image IS PNG, I can generate correct PDF.

So my dot generating perl script now converts JPEGs into temporary PNGs, and my output is fine.

    BugBear

_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest