Skip to main content
1 vote
1 answer
69 views

I need to add a BitmapDescriptor to my Polyline in Jetpack Compose google maps: val arrowBitmapDescriptor: BitmapDescriptor by remember { mutableStateOf(BitmapDescriptorFactory.fromResource(R.drawable....
NullPointerException's user avatar
0 votes
1 answer
81 views

I have an image resource. I convert it to Bitmap. All I want is to rotate it around the center of the screen. If the rotated Bitmap extends the screen, it should be cut. The entire app looks like this ...
Maksim Golendukhin's user avatar
0 votes
1 answer
69 views

In my app, I'm just trying to select multiple images from gallary and show in recyclerview before uploading into server. In recyclerview, the images appear with original orientation. However before ...
Naresh Pradhan's user avatar
0 votes
0 answers
270 views

I'm trying write compose to bitmap. https://developer.android.com/develop/ui/compose/graphics/draw/modifiers#composable-to-bitmap Text("Hello $name!", modifier = Modifier ....
Vsevolod's user avatar
  • 417
0 votes
1 answer
103 views

I'm facing an issue where I want to ensure the image is positioned exactly like Image No. 1 (F): However, when selecting an image from the phone gallery, the image might appear in any orientation or ...
Player91's user avatar
  • 145
0 votes
1 answer
188 views

I'm developing an Android app (in Delphi) that loads an image with a pure red color (#FF0000) in the sRGB color space. The image is then decoded into a bitmap with inPreferredColorSpace set to Display ...
zeus's user avatar
  • 13.4k
0 votes
1 answer
66 views

I was working on an app where i remove a portrait image's background (on-device) and download it upon being created. I have created the background removed bitmap of ARGB_8888 type and i was just about ...
Rudranil Bhattacharjee's user avatar
0 votes
1 answer
85 views

I am turnın pdf pages into bitmap and displaying them in a recyclerview but there is a problem original pdf bitmaps have the size of 841*595 but if a render the bitmaps with this size bitmaps looks ...
Tndstn's user avatar
  • 19
1 vote
0 answers
62 views

According to the documentation https://developer.android.com/topic/performance/graphics/manage-memory starting with Android 8.0 Bitmaps are again stored in the native memory instead of Dalvik heap. ...
Кирилл Волков's user avatar
0 votes
0 answers
48 views

How to preserve aspect ratio/scale of image while trying to set it as background image to LinearLayout in Android using Glide? Hi there, I am new to Android developement. What I want to achieve is ...
Ankita Jaiswal's user avatar
0 votes
0 answers
50 views

I am trying to write some code that modifies the alpha value in every pixel in a bitmap such that if the pixels alpha is < threshold the alpha will be set to 0f. I am starting by creating a bitmap ...
Thomas Cook's user avatar
1 vote
0 answers
91 views

For a long time I've been using Picasso to load images into my ImageView. I noticed that on newer devices (Android 35+) the behaviour of BitmapFactory.decodeStream() has changed to now return null for ...
alexgophermix's user avatar
0 votes
1 answer
94 views

I'm using a GAN tflite model to process a bitmap. T model only accepts images of 512 x 512 pixels, so I first crop the image into tiles and then process all tiles at once. This resulted in an image ...
Doctor Pizza's user avatar
1 vote
2 answers
415 views

I have an Android resource drawable that I want to use in a BitmapShader call to a paint object. I keep getting problems in trying to convert this Android drawable to bitmap. I have tried: Drawable ...
ChrisK0043's user avatar
0 votes
1 answer
83 views

I have been trying to put a TensorFlow Lite model into an app that I have been working on in Java on Android Studio. I have got the model into the app, but whenever it takes a picture and sends it ...
Ethan W's user avatar

15 30 50 per page
1
2 3 4 5
119