| Thread | Last Post | Replies |
|
| How can I determine the type of an image? | 20 Mar 2006 14:46 GMT | 1 |
I need to display images that are stored in a database without any meta information such as their size or type (gif, jpeg, etc). I can create a new Image object from the byte array returned from the database, this allows me to determine the size easily but I can't figure out a ...
|
| Error saving Bitmap | 16 Mar 2006 20:53 GMT | 9 |
I get a generic error (not very helpful) when attempting to save a re-sized image back to its original location. Here is the code snippet: Dim g As System.Drawing.Image = System.Drawing.Image.FromFile(Me.File1.Value)
|
| Bitmap drawing perfomance | 16 Mar 2006 11:19 GMT | 9 |
i've crated a custom control that allows user to draw selection rectangle over a bitmap. the selection rectangle is semi transparent and also implements cool "Marching Ants" feature :). the marching ants are moved by a timer set to interval of 100.
|
| HOW TO DO THIS SIMPLE DRAG ?? - HELP!! | 16 Mar 2006 11:17 GMT | 7 |
I have a PictureBox on a form. I need to drag the image exposed by the PictureBox "image" property to a window of Windows Explorer (or to the desktop). The new file will have a name assigned by the programmer, for instance
|
| Determining image lighting | 15 Mar 2006 19:56 GMT | 1 |
I am drawing a selector on my image for cropping purposes. It is done in black, however if the image is real dark this doesn't show up well. How can I determine the darkness of an image, or areas of an image so that I can know whether to use black or white?
|
| Forms 1.1 GDI+: drawing text and adding an event to it at Run Time | 15 Mar 2006 17:27 GMT | 1 |
I have a Splash form with text drawn on it over a gradient color scheme. This same form is shown as the 'About..' box When the form is shown as the About dialog, I want to add a close button in the top-right hand corner ... but I don't want to use a control like a label
|
| Creating a GraphicsPath control with filled rectangles and lines | 14 Mar 2006 15:19 GMT | 1 |
I have a little problem with a toolbox I'm developing in C#. I want to make a tool to create a GraphicsPath object consisting of a rectangle with some lines in it - where the size of the rectangle as well as the placement of the lines are determined by parameters.
|
| Invalid parameter used Error | 14 Mar 2006 13:21 GMT | 1 |
I got the following error when I am trying to save a tiff file using bitmap class "Invalid parameter used" faxPageImage = new Bitmap(fileName); //Error Line.
|
| Printing directly to the printer | 09 Mar 2006 20:00 GMT | 2 |
I'm looking for a way to directly print to the printer. With directly I mean I don't need any driver. Just add a printer on the LPT1 (without registering it first in windows) and send data to it. The problem for me is that I have to work with really old printers
|
| Error on Graphics CompositingMode.SourceCopy | 09 Mar 2006 09:28 GMT | 3 |
I need to write some strings on a Graphic surface of a simple control with a color that is not blend with background color. To get this, I simply need set CompositingMode to SourceCopy. This is the code:
|
| in theory can .NET produce smooth animations and clipping as Flash can ? | 08 Mar 2006 23:21 GMT | 3 |
I have not messed around with Flash, but have been very impressed with some ui's I've seen that move viewports around selectively exposing a hidden picture. And I have seen animations of bitmaps that were remarkably smooth. Even Microsoft uses Flash :
|
| Mixing GDI+ and GDI in .NET application | 08 Mar 2006 21:33 GMT | 7 |
Do you think it is legitimate practice to mix GDI+ and GDI calls (via Get/ReleaseHDC()) in paint event of a control? I've heard there is possibility of performance loss while "locking" Graphics object which is done as a side-effect to GetHDC() call - could you confirm? Another
|
| Dotnet GIF creation problem | 08 Mar 2006 16:04 GMT | 2 |
I have written some code that creates and draws into an 8bbpIndexed bitmap using LockBitmap and direct memory access, and then saves this as a GIF. (bitmap pattern: The bitmap is filled with lines of different colours.
|
| User Contorl Path Points - Ellipse | 08 Mar 2006 15:13 GMT | 2 |
Does anyone have an example of an Ellipse user Control that properly expands the control container so the ellipse is NOT chopped off. It has been mentioned to use Flatten on the Graphics path and then get the Min/Max X and Y's but I am seeing inconsisten behavior on what that
|
| Create 1bpp Multipage tiff image | 07 Mar 2006 21:12 GMT | 1 |
I'm having trouble making a multipage tiff image that is only 1bpp since it will be holding fax information. When I try to alter the pixel format I get "A Graphics object cannot be created from an image that has an indexed pixel format."
|