[flexcoders] Re: How to improve BitmapData processing speed?

2007-12-03 Thread larryzzl
My image is 1024 * 768. It's so slow. But the www.picnik.com does it very well. It change the image data so fast. Please try the Exposure function it the web. I just want to kown how to do this. Thanks --- In flexcoders@yahoogroups.com, DreamCode <[EMAIL PROTECTED]> wrote: > > How big is the image

[flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread larryzzl
I can understand that if I use an overlay cover the image and change the alpha to make it like exposure change. But if you check other function in that website, such as sharpen, color, they also provide a very quick responce to what you do at client side. I agree that it must be done at client rat

[flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread larryzzl
Sorry, I don't understand what you said very clearly. Do you mean that I should use the single whole ARGB unsigned int value but not a single color value? I'm not very sure about the "32bit block" in you mail. But I think some algorithm need to deal with R,G,B color separately. Could you give me

[flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread larryzzl
regards, > Muzak > > - Original Message - > From: "Ralf Bokelberg" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 04, 2007 10:53 AM > Subject: Re: [flexcoders] Re: How to improve BitmapData processing speed? > > > > None of the effects at pic

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-03 Thread DreamCode
Without pretending to have the inside track on how they do it - I'm fairly sure they accomplish it by some combination of multiplication/division but not on individual pixels, without having spent more than 45 secs looking at it. There's also they option that the accomplish the "realtime" effect by

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-03 Thread DreamCode
Of course they do a new image of that quality could not be delivered at that speed. And I'm sure you understand the capabilities of an overlay with solid colors, adjustable alpha and blend modes. But if you don't believe me you could try to go to the exposure function unplug your n

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-03 Thread DreamCode
DISCARD THE PREVIOUS Of course they do a new image of that quality could not be delivered at that speed. And I'm not sure you understand the capabilities of an overlay with solid colors, adjustable alpha and blend modes. But if you don't bel

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-03 Thread Jonathan Lee
They do not do image manipulation on client side which only have poor API. Since the source graphic is already on server, they use some tool (for example ImageMagick) process it on server, and reload it for you. Since you only need to see screen DPI photos, the file transfer speed + server image

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread DreamCode
Well... a blur is not at pixel level either That can be handled in blocks too I might see this fairly clear as I come from an ASM background.. the thing you need to realize is that performing an action on a 32bit block is not much slower that it is performing the same action of a pixel

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread Ralf Bokelberg
None of the effects at picnik is done with pixel level manipulations. They are using Bitmap operations. I don't know, how exactly the exposure effect can be achieved. I would try googling for Flash/Flex experiments. I'm sure you can find somebody explaining/showing it. Cheers Ralf. On Dec 4, 2007

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread DreamCode
I imagine it could be done by adding 2 layers filled with the same solid greyscale value (one of the sliders determine the amount of grey i think) . one layer having SCREEN as the blend mode and another set to LIGHTEN or something like that fairly sure that could produce some nice tweaks...

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread Muzak
December 04, 2007 10:53 AM Subject: Re: [flexcoders] Re: How to improve BitmapData processing speed? > None of the effects at picnik is done with pixel level manipulations. > They are using Bitmap operations. I don't know, how exactly the > exposure effect can be achieved.

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-04 Thread Muzak
Oh and there's this one (it's linked from Grant's article as well) http://www.quasimondo.com/archives/000565.php - Original Message - From: "Ralf Bokelberg" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 04, 2007 10:53 AM Subject: Re: [flexcoders

Re: [flexcoders] Re: How to improve BitmapData processing speed?

2007-12-05 Thread Muzak
ite somewhere as well. > Just google ;-) > > regards, > Muzak > > - Original Message - > From: "Ralf Bokelberg" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 04, 2007 10:53 AM > Subject: Re: [flexcoders] Re: How to improve BitmapData processing spee