Questions tagged as 'drawing'

1
answer

Keep background in DrawingView

I need an application to draw on a specific background, the code is working correctly, but when I go to delete / correct a wrong line, it erases the background and the background should be maintained. However, it is deleting the background image...
asked by 13.07.2015 / 16:02
2
answers

Tagging photo with problem

I've made a code that labels a jpg , by typing the client's site address in the image footer. The Problem: Some photos the text is coming giant as if it were source 72px instead of source 12px Correct Photo Link Link wrong PH...
asked by 14.10.2014 / 21:23
2
answers

How to read the width and height of a physical image-type file?

How to get width and height of a physical image file?     
asked by 21.01.2015 / 15:01
1
answer

How 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 in many ways and could not capture the image without telling the absolute path. The above line of...
asked by 03.11.2015 / 14:43
1
answer

Excessive use of pens C # [closed]

Good morning, friends, I'm developing an application that should draw 4 graphics (for now), to draw the way you want it to need to redraw the graphics several times and update them. With too much drawline, performance drops. When I stop drawi...
asked by 18.12.2018 / 15:15
1
answer

Optical illusion parallel lines

I have the following exercise that asks me to draw an optical illusion like the following: But I can not find a simple way to make the code so that it makes this progression in which it goes one square forward then some back. Now I have th...
asked by 27.12.2017 / 20:20
1
answer

How to capture file size of System.Drawing.Image?

I have a method to which I pass the parameter System.Drawing.Image and the percentage that that image will be after resize . public static Image ResizeImagem(Image imgFoto, int percentual) { float nPorcentagem = ((float)percentual / 1...
asked by 19.11.2014 / 14:11
1
answer

c # delete drawstring in picturebox

I have a pictureBox where the user at each click of the mouse inserts a text on top of an image in a pictureBox. It inserts several texts in several points of the image, the inserted text gets picked up from checkboxes. Using this code pri...
asked by 02.08.2017 / 18:45
1
answer

Displaying 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, 390); However, the original image is no...
asked by 20.11.2016 / 17:00
0
answers

Identify character drawing - Canvas (Android)

I can already draw on the screen using DrawingView , as I show in the example: I would like to know if there is any library to identify the drawing and check if it is a character, and if possible give a percentage of similarity....
asked by 25.04.2017 / 16:19