Loading Pictures as images.

BlitzMax Forums/BlitzMax Beginners Area/Loading Pictures as images.

What is the best way to go about loading a very large image into memory for use? I'm making a program that works with photographs and modern cameras can take very large pictures. Now I have heard about splitting up images into a sort of divide and conquer method but are there other alternatives? It would appear that I cannot create DirectX surfaces large enough to load some of my digital photographs. Perhaps someone could shed some light on the subject. Would changing the driver to OpenGL help any?

It would probably help if we knew what videocard you have and how large the largest of your images is. It could be a hardware limitation, but without knowing both of the above, it could equally be nothing of the sort.

My graphics card is built into my laptop and reads Ati Radeon Xpress 1100. This program is targeted towards multiple users beyond myself.

If this is a Windows only app, I would forget about using DX or OpenGL and consider using GDI for all of your graphics calls.

Does this help?

Yes thank you! You have been very helpful.

If I try to create a large pixmap from a largo photo the program will crash. The image loader does work but deriving a large pixmap appears to be the trouble.