|
|
I have noticed that I am not allowed to update a file after I've opened it with Fl_PNG_Image.
I use:
Fl_Image* image; : :
Fl_Image* raw_image = new Fl_PNG_Image(filename); // calculate new image size after scaling to fit image = raw_image->copy(new_w, new_h); delete raw_image;
I have only a feeing this is happening. I just want to rule out that Fl_Image (or its heirs) is locking the file. Depending on the file extension, I use Fl_PNG_Image or JPG or BMF
Thanks Phil.
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/90ff509b-6ffd-477a-a240-80cc07da885cn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |