Questions tagged as 'bitmap'

0
answers

"Application stopped" in Android Studio, when opening images with a spinner

I am developing an application in Android studio where in a spinner saved images are saved in the phone gallery, try using the uri and convert them to Bitmap, but when I give the button that would save the uri in an array the application will st...
asked by 04.10.2018 / 10:21
1
answer

Problem converting an image to URI to BITMAP when uploading to Firebase

The problem I have is when uploading some images through chat, but sometimes these can be very heavy and it would not be convenient to upload such heavy images to Firebase . so choose to take the image of Uri that brings the ActivityF...
asked by 16.07.2018 / 19:26
0
answers

How to copy a bitmap in another bitmap

I have a bitmap of 246x400 and I want to create a bitmap of 500x500, once having the 500x500 bitmap, I want to insert the 246x400 bitmap in the middle of the 500x500 bitmap, like this: This is what I have tried: Bitmap bmp2 = bmp1.cop...
asked by 06.07.2018 / 23:33
0
answers

Add a bitmap image of Resources to a pdf with the iTextSharp.text class

Is there any way to convert a bitmap image that is in my resource file to an iTextSharp.text.Image image so I can add it in a pdf? I have the following code: document.Add(iTextSharp.text.Image.GetInstance(Properties.Resources.electra...
asked by 31.05.2018 / 09:12
0
answers

OutOfMemory in Recyclerview showing photos of a folder, doubts for possible solutions

I have had this error since the day I started my application. I already asked in his day also around here I found a mini-solution but it was never solved at all ... OutOfMemory Exceptio - Android APP with ImageViews as a "Gallery" In the end I...
asked by 28.05.2018 / 13:07
0
answers

Send Image To Later Show it

as they are ... My problem is that I have an image, the application takes the photo, shows it in a Web service. Through this code: private void tomarFoto() { Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); if (t...
asked by 30.04.2018 / 17:51
0
answers

Ideal weight of android studio images

My app just gave me the following problem: java.lang.OutOfMemoryError: Failed to allocate to 14737836 byte allocation with 3589248 free bytes and 3MB until OOM I understand that the problem is with the memory, which from what I read is 48m...
asked by 02.03.2018 / 16:40
0
answers

conversion from an imageview to bitmap to paint lmangenes

I do not know much about the programming in android studio but now I have to subtract an image selected by the user in an imageview and convert it into a bitmap to be able to modify the colors of the image through the paint class, the problem is...
asked by 01.03.2018 / 21:01
0
answers

How to change a Bipmap variable to String Base64 with Android Studio

img = (ImageView) findViewById (R.id.image); public void onActivityResult (int requestCode, int resultCode, Intent data) {         super.onActivityResult (requestCode, resultCode, data); if (resultCode == Activity.RESULT_OK) { B...
asked by 20.02.2018 / 00:43
0
answers

Android Studio: Create an image by trimming another saved

Good morning. I have a photo taken by the camera. Next I want a series of photos to be loaded in a RecyclerView. This RecyclerView is a list of CardViews. All this is implemented and working. The problem is that when you load each photo in th...
asked by 08.10.2017 / 20:14