I need some help about BLP

Status
Not open for further replies.

h82258652

H

h82258652

I am coding a tool and I want to show a blp file in a picture box.(using c# , I think that is a beautiful language)
but when I convert the blp file to jpg file , I found a problem , the color!!!

172616i8fcgvtggvv993vc.png


the left one is the tool converted.
the right one is I converted.(I read the BLP format in http://www.wc3c.net/tools/specs/MagosBlpFormat.txt)

Why the color is wrong?
I need some help , please.

I am a foreigner . So my English is not very well.
 
Red and blue colour channels are swapped by the looks of things. You also have a problem generating value 0 as it is coming out as a value around 64.

It is hard to tell the exact problem only that colours are skewed and the colour channels are swapped.

thanks for help, I think I should find a BLP tool's source code and understand how it converted.
 
Status
Not open for further replies.
Back
Top