Search found 10 matches

by tiboy08
Thu Feb 17, 2011 10:43 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Here is the stack trace from my debugger ...
stack-trace.jpeg
stack-trace.jpeg (46.21 KiB) Viewed 2275 times
by tiboy08
Thu Feb 17, 2011 10:37 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Here is my code for the test program with the .pgm test file ... Have you made the test under windows or linux ?? I'm using ubuntu 10.04 32bits ...
test_GFL.tar.gz
(219.02 KiB) Downloaded 126 times
by tiboy08
Wed Feb 16, 2011 1:45 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Ok for the allocation, still resulting in seg fault. I use the version 3.40 of the library, is there a newer ?? Or is this bug not present in older versions ??
by tiboy08
Tue Feb 15, 2011 9:48 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Ok, so the first problem is solved. But it remains one, i work on a image compression program so this is what I need to do : 1) compress an unsigned char * buffer in PNG format into a memory buffer (using GFL_BITMAP & gflSaveBitmapIntoMemory) (seems to work) 2) From the PNG bitstream, retrieve the o...
by tiboy08
Tue Feb 15, 2011 9:09 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Ok, seems to work correctly now. Thank you !! I will contact you in case of further issues.
by tiboy08
Tue Feb 15, 2011 9:00 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

ok thank you, i will try this now ....
by tiboy08
Tue Feb 15, 2011 8:57 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Ok, so i create an GFL_BITMAP instance using the gflAllockBitmap function, then operate a memcpy on the GFL_BITMAP::Data ??
by tiboy08
Tue Feb 15, 2011 8:52 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

Re: gflLoadBitmapFromMemory problem under linux ??

Because, in my program (not in this little test code), the greyscale buffer is computed during by a previous step and is already in memory ....
by tiboy08
Tue Feb 15, 2011 7:05 pm
Forum: GFL SDK
Topic: gflLoadBitmapFromMemory problem under linux ??
Replies: 15
Views: 2964

gflLoadBitmapFromMemory problem under linux ??

Hi, I have a problem when loading a gflBitmap (from a standard unsigned char * buffer) using the gflLoadBitmapFromMemory function. The function call returns the error code 6 ("Unknown format") only under linux, under windows there is no problem ... I post the tested code below : #include <iostream> ...