ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Jano Kula <jano.kula@gmail.com>
Subject: Re: names of cached images
Date: Sun, 6 Jun 2021 16:56:54 +0200	[thread overview]
Message-ID: <0ffc6982-d46b-8341-c31f-a3a4af2ec893@xs4all.nl> (raw)
In-Reply-To: <CAPefzZ1dthEP17wHO1cS84417=5iXUjzyJKvfBSeXb-amcDkjA@mail.gmail.com>

On 6/6/2021 1:16 PM, Jano Kula wrote:
> Hello list,
> 
> usingconversion=gray.pdf in lmtx the cached images' names have some 
> string in their name. I thought it's a name of random sequence of luatex 
> cache, but the string is the same on other machines and I don't know, 
> where it comes from. mkiv used to have m_k_i_v_ string there.
> 
> hacker.pdf = source image
> hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf = cached linux
> hacker_jpg_c60ccda70ef92e32d7a6334f31c23259.gray.pdf = cached win
> 
> MWE
> \starttext
> \externalfigure[hacker]
>      [cache=./,
>      conversion=gray.pdf]
> \stoptext
> 
> Is it intended behavior?
sure, something like that is always intended; it's an md5 of a hash of 
all relevant parameters so that when you change one (say the resolution) 
we now that we need to update

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
___________________________________________________________________________________

  reply	other threads:[~2021-06-06 14:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-06 11:16 Jano Kula
2021-06-06 14:56 ` Hans Hagen [this message]
2021-06-09 13:23   ` Jano Kula
2021-07-02 15:01     ` Jano Kula
2021-07-02 15:43       ` Aditya Mahajan
2021-07-02 17:00         ` Jano Kula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0ffc6982-d46b-8341-c31f-a3a4af2ec893@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=jano.kula@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).