If you're just after the look the TweenFilterLite library has a great inbuilt filter. But if you actually want to convert it, I imagine you'd just run through every pixel and if the value (calculated however you'd like) is greater than your decided threshold, make it white, else black. I'm not sure what it will save you within flash however. Ashim
2008/12/4 Ian Thomas <[EMAIL PROTECTED]> > Really? Wow. Must be new additions - excellent. > > Ian > > On 12/3/08, David Hershberger <[EMAIL PROTECTED]> wrote: > > Also Flex supports PNG and JPEG: > > mx.graphics.codec.PNGEncoder and mx.graphics.code.JPEGEncoder. > > > > Dave > > > > > > On 12/3/08, Ian Thomas <[EMAIL PROTECTED]> wrote: > > > > > > If you mean 'how do I encode a bitmap into an image format' e.g. PNG > > > or JPEG, check out this library: > > > http://code.google.com/p/as3corelib/wiki/Main > > > > > > which has code for both PNG and JPEG. > > > > > > HTH, > > > > > > Ian > > > > > > > > > On 12/3/08, laurent <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > How could I convert a bitmap to a binary-coded bitmap ... or > anything > > > else > > > > that will represent a binary-coded image ? > > > > > > > > Thanks > > > > L > > > > _______________________________________________ > > > > Flashcoders mailing list > > > > Flashcoders@chattyfig.figleaf.com > > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > _______________________________________________ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- The Random Lines My online portfolio www.therandomlines.com _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders