Search found 10 matches
- Thu Feb 17, 2011 10:43 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
Re: gflLoadBitmapFromMemory problem under linux ??
Here is the stack trace from my debugger ...
- Thu Feb 17, 2011 10:37 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ...
- Thu Feb 17, 2011 4:07 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
- Wed Feb 16, 2011 1:45 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ??
- Tue Feb 15, 2011 9:48 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ...
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 ...
- Tue Feb 15, 2011 9:09 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
Re: gflLoadBitmapFromMemory problem under linux ??
Ok, seems to work correctly now. Thank you !! I will contact you in case of further issues.
- Tue Feb 15, 2011 9:00 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
Re: gflLoadBitmapFromMemory problem under linux ??
ok thank you, i will try this now ....
- Tue Feb 15, 2011 8:57 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ??
- Tue Feb 15, 2011 8:52 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ....
- Tue Feb 15, 2011 7:05 pm
- Forum: GFL SDK
- Topic: gflLoadBitmapFromMemory problem under linux ??
- Replies: 15
- Views: 4041
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 ...
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 ...