AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.02.27 18:40 "convert grey-scale to RGB image", by Maria Fernandez
2007.02.27 19:02 "Re: convert grey-scale to RGB image", by Thierry Pierron

2007.02.27 18:40 "convert grey-scale to RGB image", by Maria Fernandez

Hi!!

I have a black&white tiff image. 
I read this image with TIFFReadScanline and I show
pixels value, I obtain values since 0 until 255. I
don't know why because like I have said before is a
black&white image.

I have opened the image with the GIMP and I have seen
that the image was in grey-scale, then I have saved it
as RGB image.

I have read this last image with TIFFReadScanline and
now the pixels value are 0 or 255, that it's ok
because the image always has been a black&white image.

Is there a method that converts a grey-scale image to
RGB image?

I have to do this process with a lot of images, so I
want to automatize this process.

Thanks a lot, 

Mary


		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com