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?
Orientation of TGA generated by nconvert
Moderators: helmut, XnTriq, xnview
-
- Author of XnView
- Posts: 45815
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 2
- Joined: Wed Nov 30, 2011 9:41 pm
- Location: Strasbourg, France
Re: Orientation of TGA generated by nconvert
What you could do is vertically flip your pictures before you convert them into TGA files.lzn11 wrote: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?
Apparently your game does not check the orientation.