Re: Problem with tif images captured from a scanner
From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 10/23/04
- Next message: Michelle Appleton: "file manager in kde"
- Previous message: Michael Heiming: "Re: file associations/url protocol handler/shell execution on linux"
- In reply to: David Efflandt: "Re: Problem with tif images captured from a scanner"
- Next in thread: Madhusudan Singh: "Re: Problem with tif images captured from a scanner"
- Reply: Madhusudan Singh: "Re: Problem with tif images captured from a scanner"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 23 Oct 2004 17:42:53 GMT
On Sat, 23 Oct 2004 17:08:13 +0000 (UTC), David Efflandt staggered into
the Black Sun and said:
> On Sat, 23 Oct 2004 12:42:48, Madhusudan Singh
> <spammers-go-here@spam.invalid> wrote:
>> A few weeks ago, I scanned a set of SEM images on a Mac OSX connected
>> scanner and saved them as tif files.
>>tiffinfo bst1.tif
>>bst1.tif: Warning, unknown field with tag 700 (0x2bc) ignored.
>>bst1.tif: Warning, unknown field with tag 34665 (0x8769) ignored.
>> Bits/Sample: 16
>>
>> Apparently these 700 and 34665 tags are causing some problem.
I don't think the tags are the real problem. The standard TIFF library
is supposed to ignore any tag that it doesn't understand.
>> If I try to view these tif files, with xv, it quits with segmentation
>> fault. kuickview does show the images but with a slew of errors in
>> the console log.
I'll bet this isn't because of the tags, but because of the 16
bits/sample thing. Support for 16-bit images is kind of uncertain right
now, since most of the time, 8 bits/sample is plenty and only high-end
photographile weenies (who are stuck with 'Doze/OS X *anyway*) really
need/use anything more.
If you really want to get rid of extraneous TIFF tags, there isn't much
out there. I've put together a set of functions using the code from
tiffdump that might do the job, but they're sort of special-cased right
now for working with a set of undocumented tags used by a commercial
program. I've had reasonable luck by using tifftopnm followed by
convert with some options to convert that regenerate the resolution and
units tags. You might even be able to use tiffcp. I don't think the
tifftopnm thing will work on 16-bit images though.
> Have you tried loading the tif files into The Gimp, and saving them as
> png? I have no idea if that will work, but worth a shot.
If GIMP can handle 16-bit images, this will probably work. You'll want
to use GIMP 2.0, naturally. HTH,
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / Hire me! -----------------------------/ http://crow202.dyndns.org/~mhgraham/resume
- Next message: Michelle Appleton: "file manager in kde"
- Previous message: Michael Heiming: "Re: file associations/url protocol handler/shell execution on linux"
- In reply to: David Efflandt: "Re: Problem with tif images captured from a scanner"
- Next in thread: Madhusudan Singh: "Re: Problem with tif images captured from a scanner"
- Reply: Madhusudan Singh: "Re: Problem with tif images captured from a scanner"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|