Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
Am 30.08.21 um 09:58 schrieb Benjamin Buchmuller via ntg-context: (For the record on the list, I attach a small res screenshot to illustrate the matter, description below; My apologies for any inconvenience.) When I open the pdf in evince I see no difference. Maybe also a reader problem? juh ___ 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 ___
Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
How odd; Then it must be related to my viewer here ... I was just surprised to literally see two different outcomes with the \startTEXpage and without. Maybe it has to do with some sort of "nesting" in the PDF that is not handled correctly at the PDF viewer's end. I'll test again on a different machine (and with the printing company) when I'm back to work. Thanks for having looked into it! > On Aug 30, 2021, at 10:50, Hans Hagen wrote: > > attached is what i get and i see the green shading here > > > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > - > ___ 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 ___
Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
(For the record on the list, I attach a small res screenshot to illustrate the matter, description below; My apologies for any inconvenience.) On Aug 30, 2021, at 09:36, Benjamin Buchmuller wrote: Sorry, I've been probably a bit unclear. The file to look at is "test.pdf" (first and second page). This is a screenshot of what I see (attached): * in the embedded png (as reference for how the original pdf looks like) the gradients are (no surprise) visible. Green to read for the ellipse and in the rod using a white-to-gray gradient. * in the embedded pdf (what I would like to do eventually) both gradients disappear. However, when I use \startTEXpage ... \stopTEXpage around the \externalfigure, everything looks and prints fine. > On Aug 30, 2021, at 08:54, Hans Hagen wrote: > > On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote: >> Hello list, >> I have noticed that some gradients get lost when embedding an external >> figure from a pdf (Preview and Acrobat DC and in printer), although the >> original pdf works fine for me. > > you have to be a bit more precise in desribing what you expect because i > don't see it ... there's a pdf and lowres png .. these are different anyway, > the low res png has some anti aliasing > > 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 > - ___ 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 ___
Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
On 8/30/2021 7:03 AM, Benjamin Buchmuller via ntg-context wrote: Hello list, I have noticed that some gradients get lost when embedding an external figure from a pdf (Preview and Acrobat DC and in printer), although the original pdf works fine for me. you have to be a bit more precise in desribing what you expect because i don't see it ... there's a pdf and lowres png .. these are different anyway, the low res png has some anti aliasing 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 - ___ 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 ___
[NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
Hello list, I have noticed that some gradients get lost when embedding an external figure from a pdf (Preview and Acrobat DC and in printer), although the original pdf works fine for me. It seems to occur with color-to-color gradients (but not all), but not with color-to-alpha ones. While preparing a MWE, I further realized that I get the correct output when between \startTEXpage ... \stopTEXpage \starttext Embedded via \type{\externalfigure} PNG \externalfigure[drawing.png][width=72.631mm,height=21.702mm] \blank[big] PDF \externalfigure[drawing.pdf] \startTEXpage % this "works" Embedded via \type{\externalfigure} in \type{\startTEXpage ... \stopTEXpage} PNG \externalfigure[drawing.png][width=72.631mm,height=21.702mm] \blank[big] PDF \externalfigure[drawing.pdf] \stopTEXpage \stoptext Any hints what I would need to change in order to get the gradients also in non-TEX-page mode? I attach the two original files and the output produced with this MWE. Thanks! Benjamin drawing.pdf Description: Adobe PDF document test.pdf Description: Adobe PDF document ___ 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 ___