Most voted "picturebox" questions
19 questions
Sort by count of
-
7
votes2
answers2411
viewsCount how many pixels of a color the image has
I am working on a solution for tattoo studios. I would like to know how it would be possible to determine how many pixels a certain color exists in the image inserted in pictureBox1. In this image,…
-
3
votes1
answer502
viewsHow do you get a piece of an image?
Based on this image how would be the code to separate in, as if it were sub image without splitting this image into different files: Ex: void splitImage(int numeroDeDivisoes, ref Image original, out…
-
2
votes1
answer147
viewsOut of Memory when placing image in Picturebox c#
I’m trying to open a JPG, PNG, BMP or TIFF image on PictureBox, but when I try to put this image, which was opened earlier, gives the error of "Out of memory". My code is to open the image and put…
-
2
votes1
answer52
viewsParameter is not Valid - Picturebox in C#
I am making a TIFF file viewer in Visualstudio 2017, in C#language. I can open the TIFF file, if multipage will separate it by pages and I can show each page and browse through them. My problem is…
-
1
votes1
answer1981
viewsSave Image c#
I’m having the following mistake Generic error of GDI+. when trying to save the image in a specific directory. I am using code below. string caminho=@"\\\10.1.1.10\\sistema"; Stream myStream = null;…
-
1
votes1
answer365
viewsHow to locate an object by name only?
I’m 6 PictureBox, then, when saving the photo in the database, save together in which PictureBox she was. So when uploading the photos in a view, I need each photo to be displayed in its respective…
-
1
votes0
answers169
viewsHow to pick up part of an image using bitmap C#
Guys, I’m studying bitmaps, and I downloaded a pdf that said an image was an array of pixels. Since it is a matrix (which is quite logical) there is how to define points within the image, mark a…
-
1
votes1
answer159
viewsc# delete Drawstring in picturebox
I have a pictureBox where the user with each mouse click inserts a text on top of an image in a pictureBox. It inserts several texts at various points in the image, the inserted text is taken from…
-
1
votes1
answer59
viewsAdd a new variable to a component (Picturebox)
I’m creating a game for a college job, this game consists of several Picturebox, one is the main character who walks, jumps and shoots, the PictureBox of the shooting and the PictureBox of monsters…
-
0
votes1
answer89
viewsHow do I view an image hosted in my App?
I would like to display a promotional image within a PicutreBox in my app, but this image will vary according to the promotion that the Company will make. Is there any code that PictureBox show a…
-
0
votes1
answer50
viewsVB net how to send picture q is in a user control for a form
I have a picturebox in a User Control, and I want the image of the use control picturebox to go to a picturebox of a form, how to do?
-
0
votes0
answers210
viewsSaving the real image Picturebox
I’m trying to save the contents of a picturebox, but it always saves the original image and not the one being presented. Can someone help me? Dim myEncoder As Encoder Dim myImageCodecInfo As…
-
0
votes1
answer964
viewsc# Take text and insert on top of image
I have a pictureBox, and I need the user to be able to make "markings" on the image. For example, the image is a human body, I need the user to click on the photo where the arm is, for example, a…
-
0
votes1
answer171
viewsc# Move image without trace
I’m moving one picturebox over another with a mouse. But she keeps leaving a trail behind when I move the mouse, the trail disappears right away, but there’s a way to remove it? I tried to take the…
-
0
votes1
answer74
viewsAdding value in the picturebox
I wonder if there’s any way to make it work here int chck = 0; int fid = 0; while (chck < 150) { try { sqlcon.Open(); string sql2 = "SELECT img FROM clienteimg WHERE ((clienteid = '" + cid + "')…
-
0
votes1
answer217
viewsLoad Bitmap into Picturebox
I’m building a code to scan biometrics. How do I put the generated image into the device in pictureBox What I use to mount the image in bitmap public Bitmap ExportarBitMap() // Exporta para o BitMap…
-
-1
votes1
answer131
viewsProblems with three Forms and picture box
Hi, here’s my scenario: - Configuration form (name, e-mail and a photo) - ABC form - which has a form that opens by clicking on a ABC form button - BCA form - which has a form that opens by clicking…
-
-2
votes1
answer279
viewsc# change source of picturebox
I have a table with 4 Image fields. I put a pictureBox and in the properties Data, in Databindings, Inkei it with one of the fields of the table, the field image1, when executing the program is…
-
-4
votes1
answer113
viewsWhat’s wrong with parole?
What the error in the parole below and how to resolve? private void Botão_Click(object sender, EventArgs e) { if(Pbox.Show();) Pbox.Hide(); else(Pbox.Hide();) Pbox.Show(); } private void…