> Well, if you do write this, I would greatly appreciate if you could
> publish the code. Personally, I believe that every image format
Ok, i've just finished to write the code.
It works with Windows, black screen with Linux. Probably not too difficult to
find.. but anyway, i have to polish m
>
> I've put all the images of my application (a lot) in a big
> resource file.
> I load them directly, without using fltk (perhaps there's a
> way to load
> images from a resource file, but i don't believe it).
>
> Now, i've PNG files in memory. So, how can i display them
> with FLTK ? I
>
On May 28, 2007, at 10:37 PM, Gerald Ayme wrote:
> Thank you for answering.
> So, to sum it up : i'm using FLTK 1.1.7
> Ok, i think i'll have to use the libpng (as it's shipped with fltk, i
> won't have any dependancies problems) and decode myself the picture in
> memory.
Correct. That is pretty
Gerald Ayme wrote:
> Then, i guess i could put the buffer into a Fl_RGB_Image buffer and
> display it.
Yes.. either Fl_RGB_Image, or for that matter any kind
of pixel image buffer.
Here's an example showing how to draw into a plain unsigned char
pixel buffer, and
Thank you for answering.
So, to sum it up : i'm using FLTK 1.1.7
Ok, i think i'll have to use the libpng (as it's shipped with fltk, i
won't have any dependancies problems) and decode myself the picture in
memory.
Then, i guess i could put the buffer into a Fl_RGB_Image buffer and
display it.
Thank you for answering.
So, to sum it up : i'm using FLTK 1.1.7
Ok, i think i'll have to use the libpng (as it's shipped with fltk, i won't
have any dependancies problems) and decode myself the picture in memory.
Then, i guess i could put the buffer into a Fl_RGB_Image buffer and display
it.
Tha
On May 28, 2007, at 8:19 PM, Gerald Ayme wrote:
> Now, i've PNG files in memory. So, how can i display them with
> FLTK ? I
> can't use the load functions of the library, as they load files
> from disk,
> and don't seem to work with buffers.
There is no function at this point in FLTK1 to dec
> Hello,
Hi,
> I've put all the images of my application (a lot) in a big resource file.
> I load them directly, without using fltk (perhaps there's a way to load
> images from a resource file, but i don't believe it).
No.
> Now, i've PNG files in memory. So, how can i display them with FLTK ?
Hello,
I've put all the images of my application (a lot) in a big resource file.
I load them directly, without using fltk (perhaps there's a way to load
images from a resource file, but i don't believe it).
Now, i've PNG files in memory. So, how can i display them with FLTK ? I
can't use the lo
9 matches
Mail list logo