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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -