[Gdal-dev] Conversion of JPG to TIF
michael.ostling at banverket.se
michael.ostling at banverket.se
Mon Apr 10 10:59:39 EDT 2006
Hi,
I have 4 gBytes of jpeg-files that i need to Convert to TIF.
Info on Jpg-file is below.
I can't understand the -b operator.
I'm running:
GDAL_Translate.exe -of GTiff -co TFW=YES -ot Byte -b 1,2,3 -infile -outfile
But I only get a single band TIF.
Should the -b operator be used in an other way?
Driver: JPEG/JPEG JFIF
Size is 1600, 1000
Coordinate System is `'
Origin = (92000.000000,84000.000000)
Pixel Size = (0.20000000,-0.20000000)
Corner Coordinates:
Upper Left ( 92000.000, 84000.000)
Lower Left ( 92000.000, 83800.000)
Upper Right ( 92320.000, 84000.000)
Lower Right ( 92320.000, 83800.000)
Center ( 92160.000, 83900.000)
Band 1 Block=1600x1 Type=Byte, ColorInterp=Red
Band 2 Block=1600x1 Type=Byte, ColorInterp=Green
Band 3 Block=1600x1 Type=Byte, ColorInterp=Blue
mvh
Michael
***********************************************
Michael Östling
Banverket, Huvudkontoret
GIS, BBM
mobil: +46 70 279 19 76
e-post: michael.ostling at banverket.se
***********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060410/0e2a0b2d/attachment.html
More information about the Gdal-dev
mailing list