[comp.graphics] TIFF formats and importing into WP 5.1

toddpw@tybalt.caltech.edu (Todd P. Whitesel) (08/23/90)

I think WP is being a naughty TIFF reader.

There's a section of the TIFF file that specifies which direction the gray
scale goes, and it looks like WP is assuming one direction while AppleScan
writes another.

One simple way of fixing it would be to find a program that can read the file
correctly and then write it back out so that a WP reads it correctly; you'll
need to experiment with the software you have access to.

Hope this helps.

Todd Whitesel
toddpw @ tybalt.caltech.edu

MELTSNE@gecrdvm1.crd.ge.com (08/23/90)

From my experiences with the Apple Scanner, it does not write a photometric
interpretation, which in the case of the libtiff software causes it to assume
the picture is black for a 0 value.  Unfortunately, the Apple software writes
its files with white as the 0 value.  WordPerfect must make the same guess.

I patched the tiffcp program from libtiff to set the photometric
interpretation flag to MINISWHITE.  For a solution on a PC or Mac, I'd guess
there must be a similar library of software.

Ken

ojp@hemuli.tik.vtt.fi (Olli Pihlajamaa) (08/23/90)

	I'm trying to do following:

1. Scan picture with Apple Scanner (16 gray scale) and AppleScan
   program

(1.b Perhaps manipulate it with Digital Darkroom program (in Mac))

2. Save/export picture as TIFF-file (8-bit)

3. Move it (with FTP) to UNIX system and then to PC floppy disk.

4.a Import the picture into WP 5.1. text directly or
4.b Convert it into .WPG -file and then import it into WP text

	Got problems that I was able to get through except one:
Imported TIFF -image has inverted into negative image and I can't get
those original gray shades anymore in WP. 

	In UNIX enviroment I can view those pictures w/ Poskanzer
graphics tools: tifftopgm tiff_file | pgmtopbm | pbmtoxwd | xwud
without problem.

	Anybody know what's wrong? WP understands Standart compressed
and PackBits compressed TIFF -files...

--
------------------------------------------------------------------------------
 Olli Pihlajamaa, Palovartijantie 17 E 64, 00750 HELSINKI, FINLAND 
 Tel:(358-0-) 364163 (home) 43566070 (work)
------------------------------------------------------------------------------
 BITNET:                INTERNET:                       DECNET:
 ------                 ---------                       -------
 PIHLAJAMAA@FINUH       pihlajamaa@cc.helsinki.FI       HYLK::PIHLAJAMAA
        -               ojp@hemuli.tik.vtt.FI                   -
------------------------------------------------------------------------------