Re: [graphviz-interest] Placed JPEG has black for pure white in PDF
paul womack <[email protected]> Thu, 23 Jan 2014 10:03:57 +0000
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
John Ellson wrote:
> On 01/21/2014 04:09 AM, paul womack wrote:
>> 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
>
> I thought I had responded to this and put in a fix in the recent snapshot?
Yeah - I've got multiple issues with download, compile and install,
so a quick call to "convert" from imagemagick was an easier fix for me.
BugBear
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest