Get PaintPicture results into an Image control?

MSandfox
02-22-2002, 03:46 PM
Is there a way to get the results of a paintpicture call into an Image Control. I wrote this using PictureBox.Paintpicture and it works fine on systems with 512ram but will not work properly with 256 or less in one area. that area contains 280 PB crops. My idea is to have the Picture croped into a PicutreBox then trasfered to an Image control for less overhead. Can this be done?

denmeister
02-25-2002, 11:01 AM
Windows uses a recursive method to copy pixels from one API to another. Recursive functions are memory hogs. My best advice would be to process your image in smaller sections then merge the results. That should handle your problem nicely.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum