| Thread | Last Post | Replies |
|
| Bitmap.MakeTransparent() | 17 May 2004 12:03 GMT | 1 |
According to the docs, the non-parameterized overloaded version of this method says that it makes the "default transparent color transparent". My question is-- what is the "default transparent color" and how might I 'get' or 'set' it?
|
| newby. Resizing picturebox corrupting screen. | 16 May 2004 20:09 GMT | 2 |
The following code must be wrong/deficient as a list box adjoining my picture box isn't being repainted properly. Painting of the picturebox happens "perfectly". What I want the code to do is load an image from file when that file is
|
| can't get images out of tiff file | 15 May 2004 13:35 GMT | 1 |
I have tried everything, but I continue to get an outOfMemoryException that is thrown. I am really new to using GDI+, actually new to vb.net so there is hopefully something very simple that I am doing wrong. Here is the code ==== Private Sub PictureBox1_Paint(ByVal sender As ...
|
| Crash of the bitmap with Format16bppGrayScale | 15 May 2004 11:40 GMT | 1 |
I try to use CrayScale image with Format16bppGrayScale. But I have always crash during rendering, but it works for 32bppArgb. It seems to me it is a bug in the FrameWork. I included the example of the code. How can I render GrayScale image private void Form1_Paint(object sender, ...
|
| DrawString line spacing problem | 14 May 2004 12:32 GMT | 4 |
I'm displaying some text lines on a form using DrawString, and found out that the spacing between the lines is not constant. Is there a way to space the lines equaly without calling DrawString with new coordinates for each line?
|
| Font.Height / Graphics.Measurestring Problems | 14 May 2004 09:50 GMT | 3 |
I have created a program that displays Analog Gauges. These gauges can be setup in the program and the settings can be saved in a config file. When the program loads it reads the last config file and sets up the program based on the previous settings. (This will all become ...
|
| Font's | 14 May 2004 09:43 GMT | 3 |
I would like to know how to create a fixed spaced font.
|
| Indexed Color | 14 May 2004 02:30 GMT | 1 |
I'm new to gdi, I couldn't figure out AntiAlias. I'm drawing very solid shapes like rectangles and straight lines. I don't want to use any antialiasing. I set smootingmode of graphics object to None, but still there's some colored pixels are appearing near my rectangles. How can i
|
| GDI+ aware printer drivers? | 12 May 2004 19:15 GMT | 1 |
I have a HP LaserJet 4000TN printer. I am drawing to it using the graphics object from the PrintPage event, and having trouble rendering more complex GDI+ operations. For example, using custom blends on LinearGradientBrushes http://www.bobpowell.net/linear.htm doesn't render on the ...
|
| control to gif | 12 May 2004 19:13 GMT | 1 |
I want to save a panel box in to a gif or jpeg. I know that the panel box has creategraphics method. The panel box could also have scroll bars. I should be able to save the whole panel bar as gif.
|
| png Transparency problem | 12 May 2004 17:55 GMT | 1 |
I am trying to merge different images together into a final image, then save it as a png (on a webserver). The source images all have white backgrounds, and ultimately I would like to have these white areas be transparent in the final image (although I would
|
| Reduce color of a bitmap | 12 May 2004 15:15 GMT | 1 |
Hello friends, I have a problem, who not ;) so I want to reduce the color depth of a bitmap. I read here: http://www.dotnet247.com/247reference/msgs/29/147842.aspx that
|
| DirectDraw Sprites, GDI+, and a Generic Exception | 12 May 2004 15:13 GMT | 3 |
I'm writing a DirectDraw app in C#, and I have a sprite class that stores the sprite as a System.Drawing.Bitmap so I can perform image manipulation at runtime. When it's time to draw, it draws the bitmap onto the surface. The program runs perfectly fine for about 3 minutes or so, ...
|
| Scaling a path(shape) to make it smaller. | 11 May 2004 21:31 GMT | 3 |
I have this code that will create a path . In this case a triangle. GraphicsPath path = new GraphicsPath(); path.AddLine(bit.Width/2,0,bit.Width,bit.Height); path.AddLine(bit.Width,bit.Height,0,bit.Height);
|
| drawing on a gif | 11 May 2004 12:59 GMT | 3 |
I want to modifie a GIF but when I use the Image.fromFile method, I've got an exception. How can I do ? I have to place spots in few point on my Image
|