Results 1 to 2 of 2

Thread: RGBA to HBITMAP

Hybrid View

  1. #1
    Join Date
    Dec 1969
    Location
    .
    Posts
    14

    Default RGBA to HBITMAP

    Hi! Pls tell me how i can convert RGBA image to HBITMAP, as i understand IS3RGBToHBITMAP will not work with RGBA. Of cource i can convert image to DIB and then convert to HBITMAP but i will lost performance on it.
    When i will convert RGBA, i think all A values must become 255.

  2. #2
    Join Date
    Mar 2006
    Location
    Raleigh, NC
    Posts
    1,356

    Default RE: RGBA to HBITMAP

    >i can convert image to DIB and then convert to HBITMAP but i
    >will lost performance on it.

    no, you won't lose any performance because that's exactly what ImgSource would do if it had a function to convert RGBA to HBITMAP.

    -c
    Chris Losinger
    Smaller Animals Software, Inc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •