ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* external figure not functioning propertly for jpg
@ 2014-05-11 10:58 hwitloc
  2014-05-11 23:43 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: hwitloc @ 2014-05-11 10:58 UTC (permalink / raw)
  To: ntg-context


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

--------------------------------


Note: this works as is with a pdf image.  Why doesn't it for a jpg file?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: external figure not functioning propertly for jpg
  2014-05-11 10:58 external figure not functioning propertly for jpg hwitloc
@ 2014-05-11 23:43 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2014-05-11 23:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/11/2014 12:58 PM, hwitloc@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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-11 23:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-11 10:58 external figure not functioning propertly for jpg hwitloc
2014-05-11 23:43 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).