| Thread | Last Post | Replies |
|
| Image.Save and ExternalException | 29 Jun 2006 22:06 GMT | 4 |
In a test app that reproduces a requirement of another app, I am trying to load an image from disk into a System.Drawing.Image object, and then read the bytes of the image object into a memory stream. The code is as follows...
|
| loading BMP in ARGB format - loosing Alpha | 28 Jun 2006 22:06 GMT | 4 |
How do I load a 32bit ARGB formatted bitmap into an Image object? I tried this Image.FromFile(path) but apparently I am loosing the alpha channel.
|
| GradientBrush, Transparency and ContainerControl! | 28 Jun 2006 15:43 GMT | 1 |
I've several controls which I fill with a GradientBrush. That Brush has an endcolor as Transparent. I also fill it using a GraphicsPath. This container control does also support transaprentbackground, set via SetStyle. In non-container controls, this works well. But in Container ...
|
| Drawing Solid and See Through Lines | 26 Jun 2006 10:57 GMT | 7 |
I want to create a custom form (all drawn in the pain event) that is part solid (i.e. non see through) and part see through (e.g. 50% opacity). I've tried setting the BackColor and TransparanceKey colors to the same value and drawing lines with different Alpha color values. The ...
|
| Bitmap rotation | 25 Jun 2006 00:07 GMT | 4 |
Is there any relatively simple way to rotate a bitmap (PixelFormat = Format8bppIndexed) by say, 9 degrees? Thanks! -sb
|
| Drawing Graphics Over WebBrowser | 24 Jun 2006 23:54 GMT | 4 |
I'd like to draw some GDI+ graphics on top of a web page in a windows form application, but I can't seem to do it. The WebBrowser control hides the Paint event (and never calls the OnPaint method); and putting a transparent other control on top doesn't work because ...
|
| PlayEnhMetafile in dotnet? | 23 Jun 2006 23:44 GMT | 3 |
Hi, I'm trying to draw a metafile on top of another metafile using C# Express. I'm used to doing this with PlayEnhMetafile (and friends) in the Win32 API, using Delphi, but now I need to do the same in dotnet. The purpose is to see if a problem I have here is also present in ...
|
| There's no way to save a good GIF with VB.Net | 23 Jun 2006 18:09 GMT | 1 |
Since there's no decent built-in color quantization for the .Net gif encoder (really, who in the heck uses the web-safe palette anymore?), we have to do it ourselves. This page:
|
| SetPixel is too slow for my needs | 23 Jun 2006 13:47 GMT | 3 |
I am using VB.NET and I am capturing frames from a camera. Since the data is coming to my app via an array of bytes and is 8 bit, I am using the following code to display it in a picturebox. Private Sub ConvertFromArrayToPictureBox(ByRef oPixBox As PictureBox,
|
| Question on Buffered Graphics | 23 Jun 2006 04:43 GMT | 6 |
I created a BufferedGraphics object using the BufferedGraphicsContext->Allocate method, and I still get screen flicker. My paint method is simple enough: BufGraphics->Graphics->DrawImage(...
|
| How to do OnClick to AdjustableArrowCap | 22 Jun 2006 13:29 GMT | 1 |
I found usefull way to draw arrows: http://groups.google.com/group/microsoft.public.dotnet.framework.drawing/browse_ thread/thread/d909c2f68b245d25/6d5c2a8ccdb7f937?lnk=st&q=C%23+AdjustableArrowCap &rnum=1#6d5c2a8ccdb7f937 but I need to create kind of OnMouseDown on this arrows and ...
|
| scaling an image in a picturebox | 21 Jun 2006 11:27 GMT | 6 |
I have a PictureBox control on a form that displays a bitmap. However, the bitmap rarely matches the size of the PictureBox. The different SizeMode properties don't really do it for me. In one case, it changes the size of the PictureBox itself, making it larger than the form. ...
|
| Drawing text to a Bitmap has horrible looking output | 20 Jun 2006 01:44 GMT | 13 |
I tryed to do a bitmap export in my app by creating a bitmap, drawing to it and saving the file. Something like that void SaveToFile(string pngfile)
|
| Performance & new Pen() / new Brush() | 19 Jun 2006 13:43 GMT | 9 |
In my drawing code I recusrively create an average number of pens and brushes of, let's guess: 300? Would I see performance improvment by just caching those? (actually I use and create all of them in a using() statment)
|
| color pixels with differnet colors | 19 Jun 2006 09:33 GMT | 2 |
is there a way using GDI+ to fill a line ,rectangle or any other group of pixels with colors, but specify the color of each pixel (the colors of the pixels can be different) ? thanks.
|