|
|
FLTK 1.3 or 1.4? Windows, Mac, or Linux? Using the FLTK PNG code, or the system PNG library?
On Tuesday, July 26, 2022 at 10:59:28 AM UTC-4 pvr...@btinternet.com wrote:
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/ebc2a511-c133-49e8-92fc-f53e13956f42n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |