[FWTools] get gdal_translate black image
GISGuru
jeremiahosullivan at gmail.com
Wed Apr 18 07:31:30 EDT 2007
Hi,
I am trying to translate some ecws to tiffs using gdal_translate.
The simple command
C:\Program Files\FWTools1.2.2\bin>gdal_translate test.ecw test.tif
works ok
When I try to the file size down by issue the folloing command
C:\Program Files\FWTools1.2.2\bin>gdal_translate -co "COMPRESS=JPEG" -co
"TILED=YES" test.ecw test.tif
I get a black image back
Any idea of what is happing here is my gdalinfo for the ecw
Thanks,
Driver: ECW/ERMapper Compressed Wavelets
Size is 3312, 3715
Coordinate System is:
LOCAL_CS["LOCAL",
UNIT["Meter",1]]
Origin = (317779.375000000000000,265348.294999999980000)
Pixel Size = (1.250000000000000,-1.250000000000000)
Corner Coordinates:
Upper Left ( 317779.375, 265348.295)
Lower Left ( 317779.375, 260704.545)
Upper Right ( 321919.375, 265348.295)
Lower Right ( 321919.375, 260704.545)
Center ( 319849.375, 263026.420)
Band 1 Block=3312x1 Type=Byte, ColorInterp=Red
Overviews: arbitrary
Band 2 Block=3312x1 Type=Byte, ColorInterp=Green
Overviews: arbitrary
Band 3 Block=3312x1 Type=Byte, ColorInterp=Blue
Overviews: arbitrary
--
View this message in context: http://www.nabble.com/get-gdal_translate-black-image-tf3600436.html#a10056773
Sent from the FWTools mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20070418/a1484a53/attachment.html
More information about the FWTools
mailing list