1 Replies - 1294 Views - Last Post: 18 March 2013 - 02:23 AM Rate Topic: -----

#1 kannanprathesh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 17-March 13

Convert DIB handler to memory streaminC++

Posted 18 March 2013 - 12:03 AM

Hi,
How can I convert DIB handle to memory stream? Please give me any code samples

Thanks
Kannan
Is This A Good Question/Topic? 0
  • +

Replies To: Convert DIB handler to memory streaminC++

#2 snoopy11  Icon User is online

  • Engineering ● Software
  • member icon

Reputation: 773
  • View blog
  • Posts: 2,288
  • Joined: 20-March 10

Re: Convert DIB handler to memory streaminC++

Posted 18 March 2013 - 02:23 AM

Asked here as well

http://www.cplusplus.../general/96095/

included for fullness

I would use the CImg library for this

An Image can be converted to unsigned char with this method

where you can find this library

http://cimg.sourcefo.../download.shtml

There are examples at the site

Best Wishes

Snoopy.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1