Skip to main content
0 votes
0 answers
55 views

I'm creating an AnimatedVisibility-like API that operates on a Bitmap of the content for enter-exit transitions. I'm using the recommended way to draw a composable's content into a bitmap. Basically ...
Calamity's user avatar
  • 1,060
0 votes
0 answers
25 views

I use this code to put watermark (date and andress) on bitmap captured by camera: public Bitmap putTimestamp(Bitmap src, String date, String address) { float START_X = 40f; float START_Y = ...
anta40's user avatar
  • 6,815
1 vote
1 answer
59 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
0 answers
34 views

I have this code: private fun initQRCode() { binding?.let { val bindingRequired = it val helloWorld = QRCode.ofRoundedSquares() .withColor(R.color.colorPrimaryMid) ...
Guy Sadoun's user avatar
0 votes
1 answer
64 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
56 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
219 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
  • 407
0 votes
1 answer
86 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
  • 153
0 votes
1 answer
148 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.3k
0 votes
1 answer
55 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
73 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
56 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
43 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
46 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
58 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

15 30 50 per page
1
2 3 4 5
119