pdftex a obrazky - CCITT komprese

Pavel Janik ml. Pavel.Janik at inet.cz
Wed Feb 2 21:06:12 CET 2000


   From: Ladislav Dobias <L.Dobias at sh.cvut.cz>
   Date: Wed, 2 Feb 2000 15:43:57 +0100

Zdravím,

   > 1) Minule mi nekdo poradil, at tam vlozim TIF, ze ten tam
   > pdftex pouze vklada a nekonvertuje. Ale pokud ten TIF
   > udelam pomoci "pnmtotiff -g4", tak pdftex rika, ze tento
   > format nezna...

hmm, problém bude někde jinde:

[pavel at BigPenguin pavel]$ tiffinfo logo.tif
TIFF Directory at offset 0x396c
  Image Width: 257 Image Length: 303
  Bits/Sample: 1
  Compression Scheme: CCITT Group 4
  Photometric Interpretation: min-is-black
  FillOrder: msb-to-lsb
  Document Name: "logo.pnm"
  Image Description: "converted PNM file"
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 248
  Planar Configuration: single image plane
[pavel at BigPenguin pavel]$ pdftex
This is pdfTeX, Version 3.14159-14d (Web2C 7.3.1)
**\relax    
{/usr/local/teTeX/share/texmf/pdftex/config/pdftex.cfg}
Babel <v3.6Z> and hyphenation patterns for american, french, german, ngerman, nohyphenation, loaded.

*\pdfximage{logo.tif} \pdfrefximage 1

*\bye
[1{/usr/local/teTeX/share/texmf/dvips/config/pdftex.map}{/usr/local/teTeX/share/texmf/dvips/config/truetype.map} <./logo.tif>]</usr/local/teTeX/share/texmf/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on texput.pdf (1 page, 5696 bytes).
Transcript written on texput.log.
[pavel at BigPenguin pavel]$ 

V mé verzi to funguje. Pošlete mi prosím ten TIFF, podívám se na něj.

   > 2) Kdy bude pdftex umet CCITT kompresi? Nebo kdy bude umet
   > cist CCITT Group 4 TIFy?

Umí vše, co umí libtiff (www.libtiff.org).
-- 
Pavel Janík ml.
Pavel.Janik at inet.cz




More information about the csTeX mailing list