TIFF and LibTiff Mail List Archive


2002.10.13 12:16 "convert b/w tiff to jpeg", by Frank Murche
2002.10.13 12:31 "Re: convert b/w tiff to jpeg", by Rob Daykin
2002.10.17 06:55 "Re: convert b/w tiff to jpeg", by
2002.10.14 03:16 "Re: convert b/w tiff to jpeg", by Tom Lane
2002.10.14 08:35 "Re: convert b/w tiff to jpeg", by Andrey Kiselev

2002.10.13 12:31 "Re: convert b/w tiff to jpeg", by Rob Daykin

ok, quick and dirty:
you'll need to convert to 8 bit. So for each byte read in,

you'll need to bit shift it, and && it so that for each bit, you write out 1 byte, either FF or 00 to a temporary buffer. Then use that buffer to write the jpeg. But I would quietly predict that they look awful. I really can't see JPEG not messing up on b&w images.

Rob Daykin
Software Developer
Pindar Technologies

********************************************************************** This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error.

Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.

If you have received this email in error please notify: