Jul 22, 2003 #1 kshk Programmer Joined Aug 28, 2002 Messages 8 Location IN while loading a bmp file into memory, i am having problem loading the file into memory if it is too large. whats the way round?
while loading a bmp file into memory, i am having problem loading the file into memory if it is too large. whats the way round?
Jul 23, 2003 #2 Salem Programmer Joined Apr 29, 2003 Messages 2,455 Location GB Which OS/Compiler do you have. I can probably guess its DOS. Only DOS is likely to have problems allocating enough memory for a bitmap. Upvote 0 Downvote
Which OS/Compiler do you have. I can probably guess its DOS. Only DOS is likely to have problems allocating enough memory for a bitmap.
Jul 23, 2003 #3 killingking MIS Joined Jul 19, 2003 Messages 19 Location IN yes DOS had some problems to allocate memory but why are you loading all .BMP to memory?? use direct file handling & put .BMP directly to screen it is possible, use lseek() to move ur pointer on file n put every pixel into ur Screen Remember Image is sets reverse order in .BMP file so u print that Image Bottom to Top on ur Screen Upvote 0 Downvote
yes DOS had some problems to allocate memory but why are you loading all .BMP to memory?? use direct file handling & put .BMP directly to screen it is possible, use lseek() to move ur pointer on file n put every pixel into ur Screen Remember Image is sets reverse order in .BMP file so u print that Image Bottom to Top on ur Screen