| Thread | Last Post | Replies |
|
| Direct memory-access GetPixel()-method returns 0 instead of 255 | 28 Feb 2005 13:37 GMT | 6 |
Does anyone have any idea why I can't get a pixel-value of 255 returned in the code below? Any color-value from 0 up to 254 is returned correctly, but any color-component of 255 returns zero. ie. bright white pixel would return
|
| how can I Get Rectangle from DrawString like DrawTextEx | 28 Feb 2005 11:45 GMT | 2 |
Hi,My friends, i am a boy from china, i meet a problom in my program.i use this code to write a word on form. how can i get the word's size? i know the API function named DrawTextEx can get it because the Rectangle parameter is [in]
|
| Resizing uploaded image via GetThumbnail.. Help! | 28 Feb 2005 10:44 GMT | 1 |
Drawing Gurus.. Ok, I am really new to System.Drawing and I have a web app that lets users upload images (gif, bmp, jpg). If the image is greater than say 75px by 75px, I want to resize it down to that size BEFORE I save it to
|
| background image performance killer | 25 Feb 2005 20:58 GMT | 2 |
I'm running into a problem when I place a transparent control onto a form with a background image. The control is a marquee, so the client rectangle gets updated 50-100 times per second. The problem I'm running into is that when the background image is large, the CPU is
|
| problem with drawing images with alpha channel | 25 Feb 2005 12:34 GMT | 3 |
I'm writing an owner-draw listbox and want to have some images in it. So, I load png files into image list and now: when I try to draw them 'normaly' (without double-buffering) everything is ok,
|
| [Bug Suspicion] So, <any_gdi_object>.Dispose() does ... what exactly? | 25 Feb 2005 03:48 GMT | 13 |
I have developed a very small Windows application which creates a new Icon using .NET GDI+ every second (or every minute, that's user-definable). I need to do this because my "drawing surface" is a system tray icon so I can't just paint to a control or something. However, ...
|
| How to rotate text that contains multiple fonts/colors/sizes in C# | 24 Feb 2005 22:03 GMT | 3 |
I need to rotate text that may have multiple lines and contain multiple fonts. The best thing I could think of was to rotate a RichTextBox but I can't seem to do that. I could draw the text using GDI+ but all the examples I have seen only use one font. Seems that it may be ...
|
| Calling all MVPs and GDI+ gurus... | 24 Feb 2005 10:48 GMT | 10 |
OK, my previous message news:uIukmiPGFHA.1932@TK2MSFTNGP14.phx.gbl was probably a bit too long... (subject: "[Bug Suspicion] So, <any_gdi_object>.Dispose() does ... what exactly?", sent a few hours ago) So here is, in a more compact form, my problem:
|
| opening tiff - out of memory exception | 23 Feb 2005 17:41 GMT | 2 |
I have an 8bpp greyscale tiff file (created using a C++ library call tiflib) that causes out of memory exceptions when opened using Image.FromFile in GDI+. I can open it with other programs like Irfanview and Imaging. If I save it
|
| UserControl Issue | 23 Feb 2005 14:07 GMT | 8 |
I've got a WIndows Forms usercontrol that I'm drawing myself. I needed scroll bars so I've put them on the control at design time and am showing and hiding them when needed. My problem is that when I mouse over one part of the control I change the cursor to an IBeam and when I ...
|
| How do I view and edit the alpha channel of a bitmap | 23 Feb 2005 00:30 GMT | 2 |
- Is there a way to have a greyscale view of a Bitmap alpha channel, just like the alpha channel palette in Photoshop. - Like in Photoshop, is it possible to draw in an alpha channel using greyscale values of the Brush, leaving the alpha values of the Brush for
|
| Save tiff with multiple pages | 23 Feb 2005 00:00 GMT | 1 |
Hi newsgroup, I am developing an application which has to save an tiff-image, which in turn can have multiple pages. When using the following code, however, only the first page of the tiff-file
|
| drag rectangle over controls | 21 Feb 2005 17:15 GMT | 1 |
I am trying to drag a rectangle throughout a form for a graphical design application. The problem is that when I implement DrawRectangle or ControlPaint.DrawBorder, the rectangle is obscured by other controls as it passes over them. The only solution I can think of is to
|
| GDI - Drawing a rectangle to the upper-right of an image NOT the upper-left, How To? | 21 Feb 2005 01:39 GMT | 3 |
G'Day all, Ok so I can draw a rectange (with borders and fill whatever) to the upper left of an image easily, but I cant work out how to draw the rectange to the upper right of an image? Keeping in mind that the
|
| Adding Click event to owner drawns shapes | 20 Feb 2005 16:29 GMT | 5 |
hiii i have made a class MyObject. It has a draw function. I am able to draw all the objects on the form. I am able to save them to a file and read them also. Now the problem is that i want that if a user clicks on any of the object
|