Author Topic: Conversion of 24-bit BMP to 32-bit Help  (Read 1996 times)

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #15 on: December 23, 2016, 09:43:54 PM »
Not bad.  Looks like I sent you the wrong Environment map if that's what is making it mirror.

I will try it when I get home.  Thanks for doing that.   :salute

If you'll return my p51d and normal files as converted just in case I would be grateful. 
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8825
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #16 on: December 23, 2016, 10:53:59 PM »
I never got a normal map from you
Kommando Nowotny

FlyKommando.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #17 on: December 23, 2016, 11:20:59 PM »
I never got a normal map from you

D'oh!

My phone is not exactly cooperative.   Sorry about that. 
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline oboe

  • Plutonium Member
  • *******
  • Posts: 9788
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #18 on: December 24, 2016, 02:00:37 PM »
Using GIMP, I took your .psd and saved as a .bmp. Be sure to select "merge visible layers" and not "flatten image". "Merge visible layers" defaults to A8 encryption and "flatten image" only does X8.

I use Photoshop CS6, and when I save the .PSD as my .bmp, I don't get the option to save in A8 format - its greyed out:



The A8 option is disabled whether or not I save the file as .bmp directly from my multi-layered .psd file, or first choose either "Merge Visible" or "Flatten Image".  No difference in the
dialog box.

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6931
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #19 on: December 24, 2016, 03:10:48 PM »
I don't have any experience using Photoshop but maybe you need to create an alpha map layer on your PSD file before it will let you use that option, a 32-bit bmp is just a 24-bit bmp with an alpha channel to control transparency.

Another option that might work is saving your psd as a 24-bit bmp and then loading this bmp back into Photoshop and re-saving it into the 32-bit format you want. That's basically what I am doing with PSP and Photoshop.
« Last Edit: December 24, 2016, 03:12:26 PM by Greebo »

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #20 on: December 24, 2016, 03:25:45 PM »
I don't have any experience using Photoshop but maybe you need to create an alpha map layer on your PSD file before it will let you use that option, a 32-bit bmp is just a 24-bit bmp with an alpha channel to control transparency.

Another option that might work is saving your psd as a 24-bit bmp and then loading this bmp back into Photoshop and re-saving it into the 32-bit format you want. That's basically what I am doing with PSP and Photoshop.

I believe I tried that and it still distorted the color--though I think both options were available.   I have yet to give it a go with Devil's directions.
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #21 on: December 24, 2016, 03:27:38 PM »
[A] 32-bit bmp is just a 24-bit bmp with an alpha channel to control transparency.

Why do we need transparency?   For game purposes aren't 24-bit BMPs visually identical to 32s?
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Greebo

  • Skinner Team
  • Platinum Member
  • ******
  • Posts: 6931
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #22 on: December 24, 2016, 03:38:09 PM »
Currently I don't think there is a use for the 32-bit alpha channel with skins, although they may be using it on buildings or vegetation.

I could imagine HTC using the alpha channel in future skins to replace the separate alpha maps used for things like tank tracks or damaged areas.

Offline oboe

  • Plutonium Member
  • *******
  • Posts: 9788
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #23 on: December 24, 2016, 04:16:54 PM »
I don't have any experience using Photoshop but maybe you need to create an alpha map layer on your PSD file before it will let you use that option, a 32-bit bmp is just a 24-bit bmp with an alpha channel to control transparency.

Another option that might work is saving your psd as a 24-bit bmp and then loading this bmp back into Photoshop and re-saving it into the 32-bit format you want. That's basically what I am doing with PSP and Photoshop.

I'm modifying the pilot also, and when I save Dude2.psd as a 32-bit bmp, I the A8 encryption is enabled.  This file has many fewer layers than the aircraft skin, however I have to believe I used the same procedure to create the .psd files from the original bitmap.   I've never messed around with alpha channels or layers; I don't know why they'd be different.

Offline Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8825
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #24 on: December 24, 2016, 04:24:44 PM »
The encryption is somehow related to how the program processes the conversion of a layered file to a single, flat image. Be sure that your .psd files have multiple layers before saving to a .bmp. This should enable the selection of conversion types.
Kommando Nowotny

FlyKommando.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #25 on: December 25, 2016, 08:18:33 PM »
Using GIMP, I took your .psd and saved as a .bmp. Be sure to select "merge visible layers" and not "flatten image". "Merge visible layers" defaults to A8 encryption and "flatten image" only does X8.

It's still skewing the colors.

When I merge layers it offers three options.  Two for trimming and one for expanding.   Which should it be?

« Last Edit: December 25, 2016, 08:28:25 PM by Vraciu »
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #26 on: December 25, 2016, 08:33:06 PM »
In the meantime, is anyone willing/able to convert my _N and p51d bitmaps to 32-bit?    I can find absolutely no way to do it on this end so far.   I would like to get these in before the submission deadline.

 :salute
”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8825
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #27 on: December 25, 2016, 09:05:35 PM »
And that pops up when saving a .psd as a .bmp?
Kommando Nowotny

FlyKommando.com

Offline Vraciu

  • Plutonium Member
  • *******
  • Posts: 14011
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #28 on: December 25, 2016, 09:22:47 PM »
And that pops up when saving a .psd as a .bmp?

That pops up with MERGE LAYERS.

When you try the EXPORT AS you get the following...

”KILLER V”
Charter Member of the P-51 Mustang Skin Mafia
King of the Hill Champ, Tour 219
The Damned
King of the Hill Win Percentage - 100 (1 Win, 0 Losses)

Offline Devil 505

  • Aces High CM Staff
  • Plutonium Member
  • *******
  • Posts: 8825
Re: Conversion of 24-bit BMP to 32-bit Help
« Reply #29 on: December 25, 2016, 09:35:42 PM »
That pops up with MERGE LAYERS.

When you try the EXPORT AS you get the following...

Bam! click export and you should be all set.
Kommando Nowotny

FlyKommando.com