PHOTOMETRIC values in tiffs
Posted: 2009-10-07T20:00:05-07:00
NEWBIE ALERT!!!
I have converted some jpgs to tifs. Works fine. The images are B&W aerial photos, color aerial photos and color topographical maps.
There is a conversion tool tif2bsb that will create a format that can be displayed by marine navigation software. When I run it I get errors.
On the B&W photos I get:
No support for TIFF files with PHOTOMETRIC=1 (only images containing color maps
supported)
On the color topos or color aerials I get:
No support for TIFF files with PHOTOMETRIC=2 (only images containing color maps
supported)
So, the question is, does that message tell you anything? And is there a way for me to convert the jpgs so they will be in a format tif2bsb understands?
I tried searching for the answer, both in this forum and in the documentation, but if it's there, I think I don't know the correct terms to search with.
What follows is probably useless details, so feel free to stop here. But just in case this helps:
On the tif2bsb command, there is a switch -c n for the number of colors. In looking in the headers of commercial charts, this ranges from 4 to 127 colors (they specify them as RGB values). The utility will automatically create these RGB values in the header. So I figure if "convert" can do it, it will be by reducing the color depth (if I am using the correct term). I bet, even if you do come up with a way for me to convert it to a format it can use, the image will suffer. But I at least want to try.
Another thing I noticed that probably means nothing. The B&W tif shows the dimensions in explorer, but neither of the color ones do. But I can open all 3 in Gimp and they look fine.
Thanks,
-dan
I have converted some jpgs to tifs. Works fine. The images are B&W aerial photos, color aerial photos and color topographical maps.
There is a conversion tool tif2bsb that will create a format that can be displayed by marine navigation software. When I run it I get errors.
On the B&W photos I get:
No support for TIFF files with PHOTOMETRIC=1 (only images containing color maps
supported)
On the color topos or color aerials I get:
No support for TIFF files with PHOTOMETRIC=2 (only images containing color maps
supported)
So, the question is, does that message tell you anything? And is there a way for me to convert the jpgs so they will be in a format tif2bsb understands?
I tried searching for the answer, both in this forum and in the documentation, but if it's there, I think I don't know the correct terms to search with.
What follows is probably useless details, so feel free to stop here. But just in case this helps:
On the tif2bsb command, there is a switch -c n for the number of colors. In looking in the headers of commercial charts, this ranges from 4 to 127 colors (they specify them as RGB values). The utility will automatically create these RGB values in the header. So I figure if "convert" can do it, it will be by reducing the color depth (if I am using the correct term). I bet, even if you do come up with a way for me to convert it to a format it can use, the image will suffer. But I at least want to try.
Another thing I noticed that probably means nothing. The B&W tif shows the dimensions in explorer, but neither of the color ones do. But I can open all 3 in Gimp and they look fine.
Thanks,
-dan