ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Gradient fill in embedded pdf disappear in externalfigure (on regular pages)
@ 2021-08-30  5:03 Benjamin Buchmuller via ntg-context
  2021-08-30  6:54 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Benjamin Buchmuller via ntg-context @ 2021-08-30  5:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Benjamin Buchmuller

[-- Attachment #1: Type: text/plain, Size: 1050 bytes --]

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


[-- Attachment #2: drawing.pdf --]
[-- Type: application/pdf, Size: 15556 bytes --]

[-- Attachment #3: drawing.png --]
[-- Type: image/png, Size: 5231 bytes --]

[-- Attachment #4: test.pdf --]
[-- Type: application/pdf, Size: 27965 bytes --]

[-- Attachment #5: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-30  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  5:03 Gradient fill in embedded pdf disappear in externalfigure (on regular pages) Benjamin Buchmuller via ntg-context
2021-08-30  6:54 ` Hans Hagen via ntg-context
     [not found]   ` <3B748712-9194-454E-97E4-BD7BB8F2C60F@gmail.com>
2021-08-30  7:58     ` Benjamin Buchmuller via ntg-context
2021-08-30  9:01       ` Jan U. Hasecke via ntg-context
     [not found]     ` <e8d44881-17c3-aa48-98b6-e0d5a943e955@xs4all.nl>
2021-08-30  9:01       ` Benjamin Buchmuller via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).