Orientation of TGA generated by nconvert
Posted: Thu Mar 01, 2012 5:10 am
I'm using nconvert.exe to convert some images into tga format.
The info of the converted tga is like this:
Format : Truevision TARGA (Type 10)
Name : tga
Compression : Rle
Width : 256
Height : 256
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 800
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
while a normal tga file generated by any other software is like this:
Format : Truevision TARGA (Type 10)
Name : tga
Compression : Rle
Width : 256
Height : 256
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 800
Orientation : Bottom Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
The difference lies in the orientation, and it has caused my images to be displayed in the wrong direction.(The tga images are used by a game engine)
Is there an option to correct the orientation?
The info of the converted tga is like this:
Format : Truevision TARGA (Type 10)
Name : tga
Compression : Rle
Width : 256
Height : 256
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 800
Orientation : Top Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
while a normal tga file generated by any other software is like this:
Format : Truevision TARGA (Type 10)
Name : tga
Compression : Rle
Width : 256
Height : 256
Components per pixel : 3
Bits per component : 8
Depth : 24
# colors : 16777216
Color model : RGB
Bytes Per Plane : 800
Orientation : Bottom Left
Xdpi : Not set
Ydpi : Not set
Page(s) : 1
The difference lies in the orientation, and it has caused my images to be displayed in the wrong direction.(The tga images are used by a game engine)
Is there an option to correct the orientation?