[NTG-context] external figure not functioning propertly for jpg

Hans Hagen pragma at wxs.nl
Mon May 12 01:43:22 CEST 2014


On 5/11/2014 12:58 PM, hwitloc at gmail.com wrote:
>
> externalfigure only works properly with  pdf files (I tried with .gif and .jpg files).
>
> The jpg file with the frame=on showed a one page blank huge frame and no image.
>
> Used: the  MKIV engine  / ConTeXt Process Management 0.60
>
> I should think that "external figure should work with jpg for sure.
>
> Minimal example using a jpeg file having a 65 x 72 pixels image
> --------------------------------
> \starttext
> \externalfigure[dainienzan-logo.pdf]              % This works no problem
> \externalfigure[dainienzan-logo.jpg][frame=on]    % Big empty frame and no image
> \externalfigure[dainienzan-logo.jpg][width=2cm]   % Specifhing a width makes it work
> \stoptext                                         % but it should work without width=x

looks like a bugged jpg file


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list