Load data to GdkPixbufLoader from g_input_stream_read
Posted
by sterh
on Stack Overflow
See other posts from Stack Overflow
or by sterh
Published on 2010-06-05T14:10:27Z
Indexed on
2010/06/05
14:12 UTC
Read the original article
Hit count: 188
Hello,
I load some data from file:
GInputStream* input_stream;
GFile *file = g_file_new_for_path(file_path);
input_stream = g_file_read(file,generator_cancellable ,NULL);
g_input_stream_read(input_stream, buffer, sizeof (buffer),generator_cancellable,error);
How can i load g_input_stream_read
function result to the GdkPixbufLoader object?
Thank you.
© Stack Overflow or respective owner