Questions tagged as 'bitmap'

0
answers

Compress File Android Studio

I'm trying to compress my File which in case it's an image but it keeps going with sizes over 4MB someone would know to help me. Here is the code below: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data)...
asked by 12.12.2018 / 00:33
1
answer

Convert Bitmap / Drawable to Drawable (int)

I need to convert a Bitmap or even a Drawable into a Drawable (int), since I'm using a Bootstrap for android that needs an object of this type, but since I'm downloading the image from a url and not picking it internally, I'm getting it. Here...
asked by 17.03.2014 / 15:04
0
answers

Shared image cropped

I have a basic problem that I can not solve. I try to share an image that was saved from a screen, the problem is that this image is saving cut off. It is intermittent .... the tests work perfectly on some devices with the purest android type (M...
asked by 15.10.2018 / 16:35
0
answers

Capturing images

Hello. I'm creating an application in which I use an imageview, an editText and a calendarview, the imgageview and the editText are for customization, so that the user can select the image he wants and leave the message he wants, leaving the cal...
asked by 23.06.2018 / 14:59
0
answers

Bitmap resolution

Hello, I'm doing an activity in which I need the app to capture 3 images, and send them to the bank, these images need to go as String (that is, convert the image to base64), the problem is that the resolution is coming out that neither of the mi...
asked by 24.04.2018 / 20:47
1
answer

Upload Bitmap in PictureBox

I am building a code to scan biometrics. How do I put the image generated on the device in the pictureBox What I use to mount the bitmap image public Bitmap ExportarBitMap() // Exporta para o BitMap { if (!Connected) // Valida s...
asked by 12.04.2018 / 14:59
0
answers

Read color bytes (RGB) from a bitmap

I'm trying a problem with a code that I made that should display the bytes referring to the RGB color values of each pixel of an image in bmp (bitmap) format. I know that in windows api you have to work with bitmaps in a more practical way, b...
asked by 21.09.2017 / 17:22
1
answer

Save Bitmap with Alpha

I have the following class: public class TesteMultiImage extends ActionBarActivity { Uri URI; String ImagePath; Button button; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState)...
asked by 09.06.2017 / 20:08
0
answers

How do I use FileProvider and Bitmap together?

I'm having trouble sending a photo to the server, specifically in the snippet: "bitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);" . Always when taking the photo it presents an error in this line. Previously, instead of "FilePro...
asked by 14.06.2017 / 08:05
1
answer

getResources (). getDrawable (R.drawable.my_icon) obsolete, how to proceed

Hello, I'm having problems with the fact that getDrawable is deprecated. Why, how can I convert my code so that it can be updated? Thank you in advance! int height = 100; int width = 100; BitmapDrawable bitmapdraw=(BitmapDrawabl...
asked by 09.05.2017 / 08:14