> where i dnt get is, how is BufferedImage populated with the > imageBuffer1 ?
Short answer: imageBuffer1 is just a pointer. The array is still connected to the BufferedImage object. So when the function modifies imageBuffer1, it has the effect of also modifying the parent image. Longer answer: The BufferedImage is made up of a few different pieces internally. Loosely speaking, one piece is the data buffer, which holds the image's pixel information. When you pass that buffer into the function, the function modifies the data buffer _in place_. So essentially the function is "drawing" on your BufferedImage by transfering the captured information into the image's underlying data buffer. HTH -Leigh cfsearching{at}gmail(.)com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326346 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4