Off screen bitmap might be a possibility - let me look into that.
Thanks Jason.

Shane


On Aug 3, 5:06 pm, Jason Proctor <[email protected]>
wrote:
> the problem i think is that the filters and transforms and all that
> are done in native code, then that code writes to the frame buffer.
> getting that stuff back and turning it into a java Bitmap would be
> expensive.
>
> can you draw into an offscreen bitmap somehow? ISTR something being
> possible along those lines.
>
>
>
>
>
> >I guess from the lack of responses this isn't possible?
>
> >Too bad.....
>
> >Shane
>
> >On Aug 2, 2:14 pm, Shane <[email protected]> wrote:
> >>  So I have a Canvas which uses a bitmap to store the draw calls on.  I
> >>  have applied a ColorMatrixFilter to the underlying bitmap of the
> >>  canvas.  It looks awesome when on the phone and during the OnDraw
> >>  calls.  The ColorMatrixFilter is making the bitmap look exactly like I
> >>  want it when the Canvas is drawn.
>
> >>  Now how do I SAVE the Colormatrix effect?  I normally take the
> >>  underlying bitmap that is attached to the Canvas and Bitmap.Compress
> >>  save it.  But this method doesn't save the ColorMatrixFilter effect.
> >>  How can I get the ColorMatrixFilter to actually alter the Bitmap
> >>  itself so I can Bitmap.compress save the damn thing!!
>
> >>  Thanks Everyone,
> >>  Shane
>
> --
> jason.software.particle
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to