Questions tagged as 'bitmap'

3
answers

How to create a solid mask from a semi-transparent Bitmap?

I want to create the right image from the one on the left. And I have the following structure: var Image, Mask : TBitmap; begin Mask := TBitmap.Create; Image := TBitmap.Create; Image.LoadFromFile('Yoshi.png'); // Criação da más...
asked by 09.04.2014 / 19:23
2
answers

How to send and receive bitmap on restful server

I searched and found very little content, I would like some tips because I never did. How do I send and receive a bitmap to a server? Command with JSon? Convert to base64? What is the best way to send and how should my method be on the server to...
asked by 22.10.2015 / 19:29
3
answers

How to get a photo of Facebook profile?

I'm having trouble downloading the profile photo. When I add this line, initializing the id: userIds2 = profile.getId(); Class public class MainFragment extends android.support.v4.app.Fragment { private Database databaseHelper; private A...
asked by 02.10.2015 / 20:59
1
answer

What are the formats used to represent values (color, contrast, brightness) in digital images? [closed]

What I want to do is: recognize pixel patterns in a file, or know how the assembler handles this (to make it easy to recognize these patterns). Always wanted to create some application to manipulate images, doing object recognition, trying ne...
asked by 09.01.2017 / 13:08
1
answer

Error converting bitmap to pictureBox in C #?

I am creating a path inside C # so I can always call images from this path, I am instantiating a reference ( using namespace.Properties ) and through it I am able to call Resources and using the following code: var myIcon = (Bitma...
asked by 18.06.2016 / 18:11
1
answer

1D array for Bitmap

I've been working on an FPGA project that sends an array (1D) of Bytes from a grayscale image to the PC. Well, I made a simple code with some image to simulate the sending and receiving of an array and the error remained: System::Void button1_...
asked by 27.04.2016 / 03:34
1
answer

How to get a string from a hbitmap

I have a function that captures the monitor image and creates a bitmap file with the result, but I would like it to return a string with the contents that the file would have, instead of writing it to disk. The function: int CaptureRegion(c...
asked by 27.11.2016 / 12:09
1
answer

How to cut part of a bitmap?

I want to create a Bitmap that its content is a part of another Bitmap For example: I have a Bitmap of (400x900) width = 400 height = 900 I want to trim it in dimensions (400x400) in order to leave the height equal to...
asked by 04.10.2017 / 21:06
1
answer

How to create a Bitmap greater than 9999 pixels

When trying to create a Bitmap I realized that I can not create with the size I wanted, I need an image with 16581375 x 1 . > Bitmap image = new Bitmap(16581375, 1); image.Save("Path aqui"); As I try to run this code it returns me...
asked by 01.01.2018 / 18:19
2
answers

How to create bitmap of a Layout keeping the same dimensions whatever the density of the screen?

I have a layout file and I'm passing it to a bitmap that I then send to a bluetooth printer in bytes. According to the mobile resolution, it changes font sizes of textviews - the higher the resolution, the larger the font. How do I g...
asked by 21.06.2017 / 16:36