Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RLE image to BMP using buffer.

RLE image to BMP using buffer.

Scheduled Pinned Locked Moved C#
question
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    liqnit
    wrote on last edited by
    #1

    Hello. I have an RLE image file which i load to a buffer using a function and then decode to 8Bit BMP. The function return Pointer to the buffer with the BMP . 1) can i use the buffer directly using the pointer - if so how? 2) the buffer i get has no BMP header i need to add one myself - is it possible (it only contains the data. CRleImageClass myRLE = new CRleImageClass(); myRLE.Load(@"E:\1.rle",2048); System.IntPtr mp ; // the pointer to the buffer mp = myRLE.Decode8Bit(); 3) Do i have to save the file as BMP before starting any manupulation on it? i know it's a lot of questions - sorry thanks liq:confused: Have a nice Day

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups