Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QB64 V3.9.0 Pondering what might be there?
#17
(09-20-2023, 07:51 PM)SMcNeill Wrote: BMP files at offset 28 in the header, stores 2 bytes which represent your image type...

"the number of bits per pixel, which is the color depth of the image. Typical values are 1, 4, 8, 16, 24 and 32."

So 32-bit BMPs are supported, which allows you to make any transparency level alpha you want in your image.  They're just not very common as 24-bit tends to be used with most BMPs.
Really?? Most interesting. I never realized transparency was possible with BMP but your explanation makes sense. My graphics program, PhotoImpact X3, does not allow the creation of a transparency layer with BMP, so it seems some graphics programs may have avoided this.

Does anyone use GIMP? Does it allow transparency with BMP?
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: QB64 V3.9.0 Pondering what might be there? - by TerryRitchie - 09-20-2023, 11:50 PM



Users browsing this thread: 4 Guest(s)