Aller au contenu

Photo

Custom Portraits upside down


  • Veuillez vous connecter pour répondre
5 réponses à ce sujet

#1
DM_Vecna

DM_Vecna
  • Members
  • 280 messages
I have seen reports of this but never a solution. I am creating custom portraits in Pixelmator and exporting as a tga from there. But when I place them in my portraits folder they are upside down. I can rotate all my files but then it is no fun to manage them later. 

#2
henesua

henesua
  • Members
  • 3 879 messages
Is this a bigendian little endian thing? I've seen the bite order with TIFFs cause this problem. Often moving images with certain formats like tiff between os x and windows leads to problems like the one you describe.

If it is a bite order problem. you can fix it by working in a different bite order.

#3
Michael DarkAngel

Michael DarkAngel
  • Members
  • 382 messages
TGA Flipper

Image IPB
  MDA
  • s e n aime ceci

#4
Malagant

Malagant
  • Members
  • 221 messages

DM_Vecna wrote...

I have seen reports of this but never a solution. I am creating custom portraits in Pixelmator and exporting as a tga from there. But when I place them in my portraits folder they are upside down. I can rotate all my files but then it is no fun to manage them later. 

It's been my experience that a number of programs cause this when making TGA files. I'm not entirely sure if it's whatever information is stored in the file or how each particular program processes the uncompressed TGA but I find it often enough.

I generally maintain a folder that I dump all my newer portraits and /or problematic textures (that won't properly convert to dds) then use ThumbsPlus to batch convert TGA to TGA (24-bit color, unmapped, uncompressed), which overwrites them all and eliminates the issue without reversing the actual file, before moving them to a hak / portrait folder.

I'm not sure how TGA Flipper goes about things but I've seen some instances where people have rotated the actual file upside down so they appear right side up in game. I'm not a fan of that method.

Modifié par Malagant, 11 août 2011 - 06:54 .


#5
Proleric

Proleric
  • Members
  • 2 356 messages
I found an example of this while migrating the Heart of the South series.

What surprises me is that the portraits work in the toolset and in-game, but every other tool including Photoshop thinks they're upside down. So, I was glad to find this thread!

#6
Tarot Redhand

Tarot Redhand
  • Members
  • 2 688 messages

I recently (like a couple of hours ago) had a similar problem to this in something I will be releasing shortly. It would seem that it was down to the fact that I accidentally had RLE compression turned on. It didn't matter what orientation I had for my image files in the hak, they appeared upside down in game. Re-saving with RLE compression turned off cured it.

 

TR