You can create a color-filter with color-matrix that will give the
effect of 'Threshold'.

To get the correct values for the color-matrix, i used this web-site:
http://www.quasimondo.com/archives/000565.php

and the sources you can find here when you click on "Download the
source files here."
This will download a zip file. Open up ColorMatrix.as and look for the
method 'threshold'.
It should be easy to translate this into Java.

On Aug 24, 9:37 pm, Abdul Mateen <abmat...@gmail.com> wrote:
> Yes, probably the same.
> On Mon, Aug 24, 2009 at 7:42 PM, Streets Of Boston
> <flyingdutc...@gmail.com>wrote:
>
>
>
>
>
> > You mean 'threshold' as a color-effect (turning a pic into a black and
> > white (no grey) image)?
>
> > On Aug 24, 1:09 am, Abdul Mateen <abmat...@gmail.com> wrote:
> > > Hi,
> > > I have a question about adding a threshold images into bitmap images, can
> > > this be possible with the Android SDK, if not can anyone here generate
> > the
> > > Algorithm for that to add threshold to images.
>
> > > Thank You,
> > > Abdul Mateen.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to