Search found 2 matches

by Tonal
Sun Feb 27, 2005 11:41 am
Forum: GFL SDK
Topic: How load large bitmap to DIB or DDB in windows?
Replies: 1
Views: 1674

I resolved problem.

Functions gflLoadBitmapIntoDDB and gflConvertBitmapIntoDDB do not work correct.

My code for resolve:

HBITMAP load2DDB(const char fname[]) {
GFL_FILE_INFORMATION info;
gflGetFileInformation(fname, -1, &info)

GFL_LOAD_PARAMS load_option;
gflGetDefaultLoadParams(&load ...
by Tonal
Sat Feb 26, 2005 9:51 am
Forum: GFL SDK
Topic: How load large bitmap to DIB or DDB in windows?
Replies: 1
Views: 1674

How load large bitmap to DIB or DDB in windows?

I try load pcx file into DIB or DDB.
file size ~1.2mb.

I retrive error code 5 - GFL_ERROR_NO_MEMORY (No more memory).

How I load large bitmap into DIB or DDB?

My code:

GFL_LOAD_PARAMS load_option;
gflGetDefaultLoadParams(&load_option);
load_option.Flags |= GFL_LOAD_SKIP_ALPHA;
load_option ...