I have a problem. I am writing an application which uses 8-bit grey scale images of size say 10000 x 10000. I want to display the image on the screen and when I display it using 1:1 (no Zoom) using API Function StretchDIBits(....) or say any DrawDIBDraw(....), it works fine.
But I want to zoom the image say upto 25% - 250%. The problem is that when i scroll the image, especially when it is zoomed even to say 125%, the performance is detoriated. (I see that scrolling is not as smooth as it used to be with 100%).
I use a scrollview-derived view class to display the image and use memory alloc (GlobalAlloc) for storing the bitmap. I recalculate the size of the view on its OnDraw according the the Zoomfactor. I hope this information will do.
Thanx in advance,
PS.: If anyone has the idea for doing this, please include the code if possible.