Am 02.09.22 um 10:39 schrieb Keith McKay via ntg-context:
Thanks for this code Hraban. I tried this last night and it worked
really well. I did have one stumbling block when I noticed that those
image files with a space in their names were not found, however
renaming without a space solved the
Thanks for this code Hraban. I tried this last night and it worked really
well. I did have one stumbling block when I noticed that those image files
with a space in their names were not found, however renaming without a
space solved the problem. Is this a bug or a feature?
Thanks
Keith McKay
On T
Am 01.09.22 um 15:04 schrieb Henning Hraban Ramm via ntg-context:
Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context:
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
\def\Reso
Am 01.09.22 um 12:37 schrieb juh+ntg-context--- via ntg-context:
Hi Hraban,
Am 01.09.22 um 10:56 schrieb Henning Hraban Ramm via ntg-context:
\startluacode
local function downsampler(oldname, newname, resolution)
if not resolution or resolution == "" then
resolution = 72
end
Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context:
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
\def\Resolution{96}
}%
\setupexternalfigures[
%directory={./Logos,img},
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
\def\Resolution{96}
}%
\setupexternalfigures[
%directory={./Logos,img},
conversion=lowres.jpg,
resolution=\Resolution,
]
With the
Hi Hraban,
Am 01.09.22 um 10:56 schrieb Henning Hraban Ramm via ntg-context:
\startluacode
local function downsampler(oldname, newname, resolution)
if not resolution or resolution == "" then
resolution = 72
end
local cmd = string.format(
[[gm convert -resample %ix%
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context:
Hi,
what is resolution meant to do?
What am I missing?
The resolution parameter is still not used by default ConTeXt, sorry.
But you can use it with the atta
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context:
Hi,
what is resolution meant to do?
Whatever I insert as resolution, I get no change.
\setupexternalfigure[location={default,local},resolution=30]
\starttext
\externalfigure[hacker]
\stoptext
What am I missing?
The resolution
Hi,
what is resolution meant to do?
Whatever I insert as resolution, I get no change.
\setupexternalfigure[location={default,local},resolution=30]
\starttext
\externalfigure[hacker]
\stoptext
What am I missing?
TIA
juh
_
10 matches
Mail list logo