bitmap Questions
6
Solved
this is my code I and I want to save this bitmap on my internal storage. The public boolean saveImageToInternalStorage is a code from google but I don't know how to use it. when I touch button2 fol...
3
Solved
I'm looking for the command and options to convert images (png, jpeg, whatever…) to 1bit/px bitmap image (similar to what happen when in photoshop when you convert it to bitmap). See example below
...
Fluidics asked 7/4, 2013 at 9:43
9
Solved
I need to do some rudimentary text rendering to a pixel buffer, and I think that having a table indexed by char with the representation of the letters as a binary array would be more than enough......
5
Solved
I want to print a Bitmap to a mobile Bluetooth Printer (Bixolon SPP-R200) - the SDK doesn't offer direkt methods to print an in-memory image. So I thought about converting a Bitmap like this:
Bitm...
Dickson asked 21/2, 2012 at 12:38
8
Solved
from Tkinter import *
root = Tk()
cv = Canvas(root)
cv.create_rectangle(10,10,50,50)
cv.pack()
root.mainloop()
I want to convert canvas content to a bitmap or other image, and then do other opera...
8
Solved
I am building a C# app that creates many bitmaps (System.Drawing.Image). Having the bitmaps seen in the debugger as pictures, would be of enormous help. The debugger has native support for XML file...
Gmur asked 20/4, 2012 at 13:5
5
Solved
I want to save bitmap without transparent area.
Bitmap has large transparent pixel.
So i want to remove that.
How can i do this?
I cant add picture so explain with symbols.
I dont want to crop func...
2
I have to convert com.google.mlkit.vision.common.InputImage to equivalent Bitmap image in android using Java. Right now I am using the following code.
// iImage is an object of InputImage
Bitmap bm...
14
Solved
I have an image uploader and cropper which creates thumbnails and I occasionally get an Out Of Memory exception on the following line:
Dim bm As Bitmap = System.Drawing.Image.FromFile(imageFile)
...
4
I am trying to draw some text using TextRenderer (since this is favorable to using Graphics.DrawString) to a Bitmap, however it is having some very undesirable effects.
Example Code
using (Bitmap...
Generalization asked 16/9, 2013 at 22:1
7
Solved
I am using Android Studio to convert my SVG image to XML file . It works fine when I try to access it using R.drawable.svgimage but now I need to decode that image to bitmap.
I tried the followin...
4
Solved
i've really searched through over the entire web before posting. My problem is that i cannot resize bitmap without losing the quality of the image (the quality is really bad and pixelated).
I take...
4
Solved
background
i have a master bitmap that i need to draw on it other bitmaps.
the master bitmap has some semi-transparent pixels (pixels with variant values for the alpha channel) , so that the othe...
Comprehend asked 9/7, 2013 at 15:27
7
Solved
I am writing an application that requires me to take a proprietary bitmap format (an MVTec Halcon HImage) and convert it into a System.Drawing.Bitmap in C#.
The only proprietary functions given to...
Fermentative asked 2/2, 2010 at 16:56
3
Solved
I'm a beginner in Android development and am trying to develop a program where the user can convert the text being displayed in the TextView (TextView is displaying a code 39 barcode font text whic...
10
unfortunately the solutions I've found didn't work on android 5.1.1.
I have a bitmap called source. I need to save it directly to my phone's gallery. My manifest contains <uses-permission androi...
8
11
Solved
In my XML file, I'm using bitmap as the following
<bitmap
android:src="@drawable/Icon"
android:gravity="center"/>
Here the image width of the icon exceeds the screen.
I tried android:w...
2
Solved
Background:
I've decided that since bitmaps take a lot of memory which can cause out-of-memory errors easily, I will put the hard, memory consuming work on C/C++ code .
The steps I use for rotat...
Thermodynamics asked 18/1, 2013 at 12:10
7
Solved
I have two Views (Textview & ImageView) in the FrameLayout, I want to save the image with text. For this, I covert the View to a bitmap.
My xml is:
<FrameLayout
android:id="@+id/framelay...
8
Solved
I have my application that is displaying images with different ratio, resized inside (centerInside) imageView. What I need is to create bitmap from the ImageView including the background (black in ...
3
I want to optimize a parallax scrolling view with multiple large Bitmaps. On my Nexus 5, everything is smooth and the Traceview dump looks like this:
The doFrame() method uses ~18 ms to finish.
...
3
Solved
I'm trying to get all frames from video file using MediaCodec. If I try display video on SurfaceView, everything is ok. But if surface is null, and when I try get Bitmap from byte array, alwaus get...
Reformatory asked 27/4, 2014 at 9:54
28
Solved
I am using the following code to rotate a image in ImageView by an angle. Is there any simpler and less complex method available.
ImageView iv = (ImageView)findViewById(imageviewid);
TextView tv =...
3
Solved
I want to store image in SQLite DataBase.
I tried to store it using BLOB and String, in both cases it store the
image and can retrieve it but when i convert it to Bitmap using
BitmapFactory.deco...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.