Paolo, Yo don't have to do a repeat within a repeat. If the image sizes are exactly the same, you needn't do rows and columns, you'll just need to increment your pixel pointer by 4 each time. Then you can add the R1,G1,B1 values to the R2,G2,B2 values. Don't forget to check for max clipping--the values can only be 255 or smaller.
You might want to check out my image compositing library at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm There's a small bug in the fillImage handler...I need to post the fix. -Chipp > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:use-revolution-admin@;lists.runrev.com]On Behalf Of paolo mazza > Sent: Tuesday, November 12, 2002 2:58 AM > To: [EMAIL PROTECTED] > Subject: Re:Exporting images > > > I have beeen looking for a solution to this problem for a long time. > As far as I know in Rev we are supposed to take a shapshot of the screen. > I tryed to merge images using imagedata and maskdata. It works but the > process is slow and unstable. Perhaps you can do a better job. > I posted this script at the page: > > http://wiki.macitworks.com/revdocs/2380 > > Ciao, > Paolo > > > From: [EMAIL PROTECTED] > > Reply-To: [EMAIL PROTECTED] > > Date: Mon, 11 Nov 2002 21:58:13 -0500 > > To: [EMAIL PROTECTED] > > Subject: use-revolution digest, Vol 1 #831 - 17 msgs > > > > Message: 14 > > Date: Tue, 12 Nov 2002 12:38:13 +1100 > > From: Brendan Bonsack <[EMAIL PROTECTED]> > > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > Subject: Exporting images > > Reply-To: [EMAIL PROTECTED] > > > > Hello list gurus > > > > Can anyone think of a way to produce this effect: > > > > I need to be able to export an image to JPEG format from a mixture of > > imported graphics and "drawn" graphics on a stack. My method so far has > > been to layer images and graphic controls over each other in the stack, > > let the user manipulate them, etc, and then to take a screen snapshot of > > the "mix" and export the snapshot to a single JPEG file. This is flawed, > > however, since if the image is larger than the stack only the visible > > part will export, and if a palette is over the image at the time of the > > snapshot, that gets captured too! I know I can hide palettes for the > > sake of the snapshot, but the first problem I can't work out at all. > > > > Does anyone know of a method to "merge" a number of images into one? > > > > > > Cheers > > Brendan Bonsack > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
