[NTG-context] t-downsample.lua

Peter M√ľnster pm at a16n.net
Sun Feb 24 11:55:21 CET 2019


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

-- 
           Peter


More information about the ntg-context mailing list