Am 01.09.2021 um 23:50 schrieb Hans Hagen via ntg-context
: On 9/1/2021 7:22 PM, Henning Hraban Ramm via ntg-context wrote:
Hi again, was something changed WRT JPEG images? Since a few versions some images that used to work are denied with the error message "... is bugged". Maybe there *is* something wrong with them, but I don’t see a problem. "file" gives: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=12, height=3408, bps=0, PhotometricIntepretation=RGB, orientation=upper-left, width=2368], baseline, precision 8, 607x420, components 3 JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=9, manufacturer=FLIR Systems AB, model=FLIR ONE Pro, orientation=upper-left, xresolution=152, yresolution=160, resolutionunit=2, software=Common_dll v1.0.0b1, datetime=2021:08:03 15:28:27], baseline, precision 8, 640x480, components 3 The latter is one of Harald’s infrared pictures. I can send them off-list, if you like.
\starttext \externalfigure[20200910T115319.JPG][height=4cm] \externalfigure[old-paper-1140627-638x420.jpg][height=4cm] \stoptext
both show up ok
(fwiw: the jpg code didn't really change since the first release of lmtx)
It’s a problem with grph-downsample.lua (or maybe GM), I must research further... \loadluafile[grph-downsample] \setupexternalfigures[ conversion=lowres.jpg, resolution=72, ] \starttext \externalfigure[20200910T115319][height=4cm] \externalfigure[old-paper-1140627-638x420][height=4cm] \stoptext Hraban