python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Bimap To large For Memory
I am coding a game in java similar to Among us (A game where the important part, for now, is that players see only part of a big map) and the way I was drawing the map is with a bitmap that is several...
10110000
Votes: 0
Answers: 1
Bitmap image - Decrease the number of pixels
I am using the following code
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width,Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.Copy...
Trafel
Votes: 0
Answers: 1
Why are RGB values lost if Alfa=0, when saving in png format?
when i create Bitmap
Bitmap newBitmap = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);
and edit pixels with Alfa (1-255)
newBitmap.setPixel(0, 0, Color.argb(255, 50, 100, 250));
and save to p...

Chego
Votes: 0
Answers: 1
Android Media Image to Bitmap Conversion for Tensorflow Lite
I am taking the camera input and processing it with Tensorflow Lite model to detect the image and gesture. Tensorflow lite model is taking bitmap as an input. I am taking the camera image which is in ...
Sathish
Votes: 0
Answers: 1