AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.10.24 01:47 "1:2 Compression ?", by Nicholas Humfrey
2002.10.24 02:17 "Re: 1:2 Compression ?", by Peter Skarpetis
2002.10.24 02:20 "Re: 1:2 Compression ?", by Nicholas Humfrey
2002.10.30 09:16 "AW: tiff-digest V1 #259", by Bommineni Bhaskar ICN EN HC SE 21

2002.10.30 09:16 "AW: tiff-digest V1 #259", by Bommineni Bhaskar ICN EN HC SE 21

hello,

can anyone know how to convert tiff files to bitmap files. I can able to read the tiff images as soon as i read it i want to convert them to bitmap images and display to the screen I am using vc++6.0.

please help me out.

-----Ursprungliche Nachricht----- Von: owner-tiff-digest@olympiakos.com [mailto:owner-tiff-digest@olympiakos.com] Gesendet: Wednesday, October 30, 2002 6:56 AM An: tiff-digest@olympiakos.com Betreff: tiff-digest V1 #259

tiff-digest        Wednesday, October 30 2002        Volume 01 : Number 259

This digest covers the following subjects:

Re: converting C,M,Y,K seperated tiff to CMYK composite tiff (fwd)
thumbnails
writing raw data
1:2 Compression?
Re: 1:2 Compression?
Re: 1:2 Compression?
Re: {SPAM?} Re: 1:2 Compression?
WordDoc to Tiff

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

Date: Mon, 21 Oct 2002 10:02:15 -0400 (EDT) From: Dwight Kelly <dkelly@apago.com> Subject: Re: converting C,M,Y,K seperated tiff to CMYK composite tiff (fwd)

If you are using the libtiff library, you will need to open the four input files, create an output file with PHOTOMETRIC_SEPARATED, SAMPLESPERPIXEL=8, and PLANARCONFIG either SEPARATED or CONTIG. If you choose CONTIG you will have to interleave the input pixelsl. For SEPARATED you will call TIFFWriteScanline 4 times for each scanline, incrementing the value of the color arg.

If you need a commercial application, our company has several products which will meet your requirements. Piktor and tiffcombine

- --
Dwight Kelly

Apago, Inc. 4080 McGinnis Ferry Rd Suite 601 Alpharetta, GA 30005 voice:(770) 619-1884 fax:(770) 619-1885 email: dkelly@apago.com web: http://www.apago.com

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

Date: Mon, 21 Oct 2002 16:31:50 +0200 From: Bommineni Bhaskar ICN EN HC SE 21 <Bhaskar.Bommineni@icn.siemens.de> Subject: thumbnails

hi,

in the tiff library tools,we have a tool to create thumbnails,but this tool
creates thumbnails as files,cant we store the thumnails of each image in the
file in a temporary storage.

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

Date: Mon, 21 Oct 2002 15:50:20 +0100
From: "Mark Trueman" <mark.trueman.mt@agfa.co.uk>
Subject: writing raw data

Hi

Ive used the algorithm and code in the Fax3Encode2DRow method in libtiffs tif_fax3.c file in my own method for encoding a tiff file. The difference is that i am using the algorithm to encode an array of white black run length values as opposed to the actual pixels in the scanline (not using the PIXEL or "finddiff" macros). My problem is that i cant get the encoded data to be written to the tiff file. Im not sure about how the putspan and putcode methods work and how to get the result of these calls into the tiff file. I can see that putspan and putcode end up calling the _PutBits macro but this doesnt seem to write the bits to the actual tiff file. I can send code if someone is willing to help me

Mark

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

Date: Thu, 24 Oct 2002 02:47:16 +0100 From: Nicholas Humfrey <njh@ecs.soton.ac.uk> Subject: 1:2 Compression?

Hi,

This is probably a stupid question but I have been hunting around
for quite a while and can't solve it. Had a look at the header
files and manual pages but no luck...

How do I enable basic 1:2 compression for a TIFF file - in addition
to the Image codec compression - such as Packbits.

I have two identical image files - one compressed using a graphics
program and one compressed using libtiff. When comparing using
tiffcmp - they it finds no differences.

However the libtiff file is twice the size of the graphics editor.
When I get information about the file I am told that although both
files are compressed using PackBits another field says that the
libtiff file is compressed 1:1 and the other file is compressed 1:2.

Is this an extension to TIFF that libtiff can't write? - I can
read/decode the compressed files fine...

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

Date: Thu, 24 Oct 2002 12:17:15 +1000 From: peters <peters@serendipity-software.com.au> Subject: Re: 1:2 Compression?

You need to make the strip size larger, this will give you better runs ie use something like

TIFFSetField(tiff, TIFFTAG_ROWSPERSTRIP, (int)height); /* To achieve better
compression */

Phone: +612 93321788
Fax: +612 93321766
email: peters@serendipity-software.com.au
WWW: http://www.riponce.com

> How do I enable basic 1:2 compression for a TIFF file - in addition to

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

Thanks for the tip but I am doing this already...

nick.

You need to make the strip size larger, this will give you better runs ie use something like

TIFFSetField(tiff, TIFFTAG_ROWSPERSTRIP, (int)height); /* To achieve better
compression */

- --

Nicholas Humfrey BSc Intelligence, Agents, Multimedia Group Dept of Electronics and Computer Science University of Southampton UK

email njh@ecs.soton.ac.uk
www http://www.ecs.soton.ac.uk/~njh/

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

Subject: Re: {SPAM?} Re: 1:2 Compression?

Looks like I was working too late last night!

The compression ratio was just a measure of how effective Packbits was being.

Not sure what I changed (or when) but it is compressing more efficiently now.

Sorry for the stupid question.

>Nick,
>
>I have never heard of this 1:2 business. Could you email me the smaller
>packbits file produced with the graphics program in question?
>
>Thanks,
>--
>---------------------------------------+-----------------------------------
---
>I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam@pobox.com
>light and sound - activate the windows | http://pobox.com/~warmerdam
>and watch the world go round - Rush | Geospatial Programmer for Rent

- --

Nicholas Humfrey BSc Intelligence, Agents, Multimedia Group Dept of Electronics and Computer Science University of Southampton UK

email njh@ecs.soton.ac.uk
www http://www.ecs.soton.ac.uk/~njh/

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

Date: Wed, 30 Oct 2002 11:27:29 +0530 From: "Jasmeet" <Jasmeet@e-bizindia.org> Subject: WordDoc to Tiff

Hi,

I require a help in converting word documents to tiff. Can anyone help me?

thanks

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

End of tiff-digest V1 #259

**************************