Jump to content
AlecSadler

Setting an image to a control from memory

Recommended Posts

AlecSadler

Hello all, I am looking for a way to set an image control with the raw binary of the image instead of having to use a saved file. Any advice on this?

Share this post


Link to post
Share on other sites
Danyfirex

Check help file _GDIPlus_BitmapCreateFromMemory

 

Saludos

Share this post


Link to post
Share on other sites
AlecSadler
6 minutes ago, Danyfirex said:

Check help file _GDIPlus_BitmapCreateFromMemory

 

Saludos

Thanks! However the example shows only how to create a bitmap onto a whole window, how do I go about creating a graphic from an image control?

Share this post


Link to post
Share on other sites
AlecSadler

Found my answer here 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×