Hi,
Im writing a program that will magnify diagrams (simplified version of the windows magnifier). If I have a buffered image (hard-coded) bufimag, what are the steps to do to increase pixelsize and display it.
Well displaying is not a problem. just how to increase pixel size. No need to use reg as in getRGB and setRGB.

Please reply.

Its like the windows magnifier. Or, like the zoom function in MS Paint, increase pixel size of an image. I am trying getpixel and setpixel, but I have manipulate with RGB, which I am not required to do.

I hardcode a black and white drawings and want to zoom it. Just a tip would do. Ive spent 2 days on this actually simple program.