yes, thanks everyone it made sens last night when I got to bed for a
while...:)
yes it's just an image where color are black or
white1/0...binary-coded...wow! :)
Only for processing, not less space...
thanks ;)
L
Daniel Boey a écrit :
Hi,
BitmapData class has a threshold method that does
Hi,
BitmapData class has a threshold method that does what Ashim mentioned which
if you were to go to the extreme 0 and 255 of a pixel value you'd ultimately
obtain a black and white image anyway. Main use of thresholding however is
for image processing purposes which I will not go in depth here a
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
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 mea
No it's more like to obtein a treshold image...I just read that in a
publication, in a book...
"The reason why the input image is converted to a binary-coded image is
because binary-coded image requires less data size than color or B&W image."
get not more clue with google :)
L
David Hers
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/
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
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/flashcoder
8 matches
Mail list logo