• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

JPG to BLP

Status
Not open for further replies.
Level 5
Joined
Sep 8, 2013
Messages
143
when i change jpg file to blp with wc3 viewer 2, i cant choose option 32 bit.. why?
2yzdde0.png
 
problem again :(
what should i do?
2nu4ves.png

Well, it's pretty straighforward, what are the dimensions of your image?
As for the conversion, don't worry about not being able to do that, it works fine. However, you should first convert your image to tga as it is more optimal (and you retain alpha channel as well).
 
Level 5
Joined
Sep 8, 2013
Messages
143
you creating LOADING SCREEN?

nooo

That's odd. Why haven't you converted the image to PNG first and after that convert it to blp.

done

Well, it's pretty straighforward, what are the dimensions of your image?
As for the conversion, don't worry about not being able to do that, it works fine. However, you should first convert your image to tga as it is more optimal (and you retain alpha channel as well).

thanks it works :))
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
JPEG does not support 32 bit. The format is only 24 bit (no alpha).

In order to get a blp with meaningful alpha channel information you will need two images, the jpeg and an alpha map (can be anywhere from 8 bit to 1 bit depending on alpha format).

Converting to PNG is a dumb suggestion as that will require re-compressing the data potentially adding loss. It should be possible to losslessly convert a JPEG image into a blp by directly moving the JPEG blocks (no re-compression). Only the mipmaps would need to be generated (JPEG does not contain mipmaps, although if it is done progressively maybe they could use data from that instead)
 
Level 5
Joined
Sep 8, 2013
Messages
143
JPEG does not support 32 bit. The format is only 24 bit (no alpha).

In order to get a blp with meaningful alpha channel information you will need two images, the jpeg and an alpha map (can be anywhere from 8 bit to 1 bit depending on alpha format).

Converting to PNG is a dumb suggestion as that will require re-compressing the data potentially adding loss. It should be possible to losslessly convert a JPEG image into a blp by directly moving the JPEG blocks (no re-compression). Only the mipmaps would need to be generated (JPEG does not contain mipmaps, although if it is done progressively maybe they could use data from that instead)

Ok ty
 
Status
Not open for further replies.
Top