Am 20.09.25 um 19:12 schrieb Hans Hagen via ntg-context:
On 9/19/2025 8:36 PM, Henning Hraban Ramm wrote:
Am 19.09.25 um 18:48 schrieb Hans Hagen via ntg-context:
I pushed an update. Apart from a few fixed (most already mentioned on
the list) the main addition is in some experiments with metapost and
bitmaps. We (Keith, Mikael, me) will follow up on that later when
we're done / satisfied with experimenting but the code is already there.
Thank you! Unfortunately, it changes neither the “entry not flushed”
problem nor the “{0}{0}” in PDF bookmarks.
lucky me i have no clue what that's about ... are you sure the bookmark
is anchored someplace
Well, it used to work a few versions ago. You wrote the regression was
introduced with some tagging changes, and your fix for Rik (that should
be in the latest update) didn’t change anything for me.
see https://www.mail-archive.com/[email protected]/msg110982.html
and https://www.mail-archive.com/[email protected]/msg111116.html
I don’t know if the “{0}{0}” in some PDF chapter bookmarks are related.
I can’t see a pattern when this happens.
So, this is copying and downsampling?
Indeed. But currently only in the mp route. It's easy to add to the png
route. But forget about jpg as that woudl demand going -> png which
probably is costly and i don't want to pull in libraries. (One can of
course convert beforehand to png.)
Ah, so I can’t replace grph-downsample (was t-degrade).
Ah, the first photo filters! Then is auto-contrast, sharpening,
blurring etc. just a bytemap definition away.
e.g. https://ai.stanford.edu/~syyeung/cvweb/tutorial1.html
or https://lodev.org/cgtutor/filtering.html
I'll check it ... simple functions should be easy. But only if used and
usefull.
Of course, and if it’s not for JPEGs, it doesn’t make sense to integrate
anyway.
to keep him busy ... have fun,
I would die of boredom otherwise. ;P
I'll think of more.
I’m sure of that. I’ll keep trying to focus on documenting old features.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________