Most voted "drawing" questions
17 questions
Sort by count of
-
8
votes1
answer113
viewsMaintain background in Drawingview
I’m needing an application to draw on a specific background, the code is working all right, but when I’m going to delete/correct a wrong line, it erases the background and the background should be…
-
4
votes2
answers509
viewsHow to read the width and height of a physical image file?
How to get the width and height of a physical image file?
-
3
votes2
answers83
views -
3
votes1
answer1326
viewsHow to locate an image without informing the absolute path?
How to locate an image without entering the absolute path? Image img = System.Drawing.Image.FromFile("~/Content/images/SemFoto.jpg"); I tried several ways and could not capture the image without…
-
3
votes1
answer91
viewsExcessive use of pens c#
Good morning friends, I am developing an application that should draw 4 graphics (for now), to draw in the way intended need to redraw the graphics several times and update them. With excessive use…
-
2
votes1
answer59
viewsOptical illusion parallel lines
I have the following exercise that asks me to draw an optical illusion like the following: But I’m not finding a simple way to make the code so that it does this progression where it goes one square…
-
2
votes0
answers40
viewsCustom line chart
Good morning, I am developing a program in c# that should draw a line chart(x,y) in a picturebox(pcbANALISE) according to the data I have in a list (aquisicaodata[ ]). This chart also has a scroll…
-
1
votes1
answer968
viewsHow to capture file size from System.Drawing.Image?
I have a method to which I pass the parameter System.Drawing.Image and the percentage that this image will get after the resize. public static Image ResizeImagem(Image imgFoto, int percentual) {…
-
1
votes1
answer110
viewsDisplaying Bitmap in C#application
I have the following code in my application : Bitmap original = new Bitmap("C:/Projeto/Imagens/antialiasing.jpg"); Graphics g = Graphics.FromImage(original); g.DrawImage(original, 100, 100, 390,…
-
1
votes0
answers50
viewsIdentify drawing in character - Canvas (Android)
I can already draw on the screen using a DrawingView, as shown in the example: I wonder if there is any library to identify the drawing and check if it is a character, and if possible, give 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
answer60
viewsZoom in graph C#
I have a line chart with values from 0 to 5 for Y in my application C#. As most of the time the enough values to be drawn are 2 to 3 I would like to zoom vertically. float atualdata_1, calibracao =…
-
0
votes1
answer338
viewsPython Opencv - Error using drawing function
I’ve been able to run this code before, but now it doesn’t work. It needs to draw a square on the video screen. Error: Traceback (Most recent call last): File…
-
0
votes1
answer80
viewsError while running void start()
Good, I was doing some coding of the proposed exercises. When I went to execute the following error: java.lang.IllegalStateException: Toolkit not initialized at…
-
0
votes0
answers461
viewsCanvas Draw Tbitmap Multiple Images
Would you like to capture several images and "join" them all in one without having to save them first, I capture 6 images put one over the other according to the position on the screen and saved in…
-
0
votes2
answers30
viewsI need to solve an image resizing problem in C#
i am trying to implement a code to do image resizing because currently are uploading very large images on my system, however I am not able to perform resizing proportionally. Follows the code in…
-
0
votes0
answers13
viewsHow to display stitch on screen without using canvas
I created an application in Java to draw lines, when I click the first time it draws a point to symbolize where it was clicked and when I click the second time it draws a straight line from the…