ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* RE: no tif?
@ 2001-02-14 14:03 White, George
  2001-02-14 14:41 ` Han The Thanh
  0 siblings, 1 reply; 7+ messages in thread
From: White, George @ 2001-02-14 14:03 UTC (permalink / raw)


It is relatively non-informative to say "pdftex supports format XXX".  About
all
you can say is that a specific image worked with pdftex on a specific
platform.
Also, what "works" for one person may be unnacceptable to another
(e.g., color shifts).

EPS, TIF(F), and PNG, are umbrellas that cover a vast range of 
actual contents.  To use a particular format with pdftex you have to
first make sure that the support was compiled in, and then that the 
library you used is compatible with the particular file you happen to have.
With EPS you may not see the problem until you render the PS file.
The free libraries for TIFF, PNG, and JPEG have had bugs (some
provided by the system libraries they use) and often support a fraction
of the possibilities for a given format.  One many systems, ImageMagick
and gimp will use the same libraries that pdftex employs, so it can be
helpful to
a) check that you can view a troublesome image with either of those
applications
before blaming pdftex and b) try converting to another format (although each
format does have advantages for specific situations).  

There is a sample pdftex file that uses plain TeX and embeds some images.
It would be useful to expand this document by adding a larger range
of test images that people could use to verify the functionality of their
basic
pdftex installation.    

> -----Original Message-----
> From:	Uwe Koloska [SMTP:uwe.koloska@mailbox.tu-dresden.de]
> Sent:	Tuesday, February 13, 2001 8:37 PM
> To:	ntg-context@ntg.nl
> Subject:	Re: no tif?
> 
> Hello,
> 
> You wrote on Dienstag, 13. Februar 2001 18:13:
> >> [tif problems with context and pdftex]
> >
> >when pdftex is used, context does not use texutil.
> >
> >tif support in pdftex is not always compiled into the binary so i
> disabled
> >it in context, also because not all tif formats are supported [actually,
> >pdf does not support tiff, but some tiff compression schemes]. Png is a
> >better format.
> 
> Ahh!  So to make it clear I changed the table from the manual:
> 
>            eps  pdf  mps  tif  png  jpg  mov
> dvips       +    -    +    -    -    -    +
> dvipsone    +    -    +    +    -    -    +
> pdftex      -    +    +    -    +    -?   +
> 
> what about jpg and pdftex??
> 
> And I don't have to use "texutil --figures" if I use pdftex, right?
> 
> Uwe
> 
> -- 
> mailto:koloska@rcs.urz.tu-dresden.de
> http://rcswww.urz.tu-dresden.de/~koloska/
> --                                    --
> right now the web page is in german only
> but this will change as time goes by ;-)


^ permalink raw reply	[flat|nested] 7+ messages in thread
* no tif?
@ 2001-02-13 14:54 Uwe Koloska
  2001-02-13 17:00 ` Taco Hoekwater
  0 siblings, 1 reply; 7+ messages in thread
From: Uwe Koloska @ 2001-02-13 14:54 UTC (permalink / raw)


Hello,

the manual states that pdftex / context supports pdf, metapost, tif, png, 
jpg, mov.  But I was not able to include a tif picture

-------------------------------------------------------------------------
\useexternalfigure [steuerpult] [steuerpult.tif]

\starttext
\externalfigure[steuerpult]
\stoptext
-------------------------------------------------------------------------

gives

-------------------------------------------------------------------------
systems        : begin file simple-tif at line 3
figures        : figure ./steuerpult.tif has zero dimensions
(./texutil.tuf)
figures        : figure ./steuerpult.tif has zero dimensions
figures        : dimensions of ./steuerpult.tif loaded from figurefile 
itself
-------------------------------------------------------------------------

and there is no figure in the resulting pdf

the texutil.tuf has
  \presetfigure[steuerpult.tif][e=tif,w=21.675cm,h=16.256cm,s=105105]
the same file as png
  \presetfigure[steuerpult.png][e=png,w=0.204cm,h=0.163cm,s=28187]

so if I discard the extension, the png file was properly included ...

if I rename steuerpult.tif to steuerpult2.tif run 
  texutil --figures *.tif *.png
and use the line
  \useexternalfigure [steuerpult] [steuerpult2]

the result is

-------------------------------------------------------------------------
systems        : begin file simple-tif at line 3
(./texutil.tuf) (/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf) (./texutil.tuf)
(/home/koloska/texmf/tex/bilder/texutil.tuf)
figures        : figure steuerpult2 can not be found
-------------------------------------------------------------------------

What's wrong with tif input?

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


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

end of thread, other threads:[~2001-02-14 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-14 14:03 no tif? White, George
2001-02-14 14:41 ` Han The Thanh
  -- strict thread matches above, loose matches on Subject: below --
2001-02-13 14:54 Uwe Koloska
2001-02-13 17:00 ` Taco Hoekwater
2001-02-13 17:13   ` Hans Hagen
2001-02-14  0:37     ` Uwe Koloska
2001-02-14  8:31       ` 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).