[NTG-context] t-downsample.lua

Hans Hagen j.hagen at xs4all.nl
Tue Feb 26 09:09:45 CET 2019


On 2/24/2019 11:55 AM, Peter M√ľnster wrote:
> On Sun, Feb 17 2019, Hans Hagen wrote:
> 
>>> +                if width then
>>> +                    hash = hash .. "[w:" .. width .. "]"
>>> +                end
>>> +                if height then
>>> +                    hash = hash .. "[h:" .. height .. "]"
>>> +                end
>>>
>> hm that needs a bit of thinking because here we have cases where we downsample
>> from say 600 to 150 dpi but then use that same one for all kind of sizes (and
>> then a different wd/ht should not trigger an extra downsample)
> 
> Ok. Perhaps with a configuration option? Like "conversion-if-new-dimens=yes/no"?
maybe later this year, when images are on my agenda

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


More information about the ntg-context mailing list