android - Use RAW Bitmap via ImageView.setImageUri() -


i trying write content provider in order send image process via imageview.setimageuri() call, bitmap want send in memory and, due performance reasons, prefer avoiding saving on disk , encoding because might take 2/3 seconds encode in png , wouldn't make sense since other end decoding it.

so, able send image in png correctly using pipehelper cannot send "raw" (so android bitmap bytearray directly memory), there option that? passing wrong mime type? why setimagebitmap() works raw bitmaps while setimageuri() doesn't?

i know use parcelable bitmap want overcome parcelable size constraints. finally, there encoding faster png supports alpha if ending size not issue?


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -