You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use your library and set up/show view works fine. But i need to save the views as list of bitmaps like:
Bitmap b1 = Bitmap.createBitmap(v.getWidth(), v.getHeight(), Bitmap.Config.ARGB_8888);
Canvas c = new Canvas(b1);
v.layout(v.getLeft(), v.getTop(), v.getRight(), v.getBottom());
v.draw(c);
bitmapFromView.add(b1);
All works, i checked the list in debug.
Then i use getPixels(..) on each bitmap. When i've a colorful background, tables are valid, but when i set a transparent background, transparent pixels have a strange negative value (like -570425344). Did you use a specific transparency encoding ? Or have you any idea ?
Thx !
The text was updated successfully, but these errors were encountered:
Hi !
I use your library and set up/show view works fine. But i need to save the views as list of bitmaps like:
All works, i checked the list in debug.
Then i use getPixels(..) on each bitmap. When i've a colorful background, tables are valid, but when i set a transparent background, transparent pixels have a strange negative value (like -570425344). Did you use a specific transparency encoding ? Or have you any idea ?
Thx !
The text was updated successfully, but these errors were encountered: