system.drawing
Convert System.Drawing.Color to System.Windows.Media.Color [duplicate]
This question already has ans开发者_Go百科wers here: How to convert from System.Drawing.Color to System.Windows.Media.Color?[详细]
2023-01-23 21:08 分类:问答Optimise manual image processing (.Net 4)
I\'m writing an image effects library which exposes the functionality using fluent notation. Some simple effects are fast (borders, drop shadows, etc.) but some of the more CPU intensive calls are sl[详细]
2023-01-23 18:32 分类:问答Image.Save() on MemoryBmp to TIFF with EncoderParams - How?
I have an application that allows a user to define a region of an image and save that region to file.I have run up against a snag that I can\'t sort out.The Bitmap that I create to paint the selected[详细]
2023-01-23 13:57 分类:问答save jpg with lower bit depth (24 to 16 for instance) (C#)
I need to convert 24- and 32-bits jpeg and png-files to a lower bit depth (16). I found some code to do this, but the resulting images keep the bit depth of the original file although there file size[详细]
2023-01-22 07:21 分类:问答Selecting the size of a System.Drawing.Icon?
I have a ic开发者_Python百科on which has a few different sizes (16px, 32px, 64px). I am calling ToBitmap() on it, but it is always returning the 32px image. How do I retrieve the 64px one?Does this he[详细]
2023-01-21 20:56 分类:问答Sizing image to text in the image with C# System.Drawing / Drawstring
I want to take a string, and a specified font, and create a graphic image that contains that text in box, where the box resizes to the text.[详细]
2023-01-21 04:11 分类:问答How to draw centered text onto a jpg using system.drawing in c#
I am using the following code to draw text onto a jpg image but it requires x/y coordinate percision on where to place the text.[详细]
2023-01-20 01:14 分类:问答open multi image pages to different Bitmap objects in .net
I am developing an image editor and the structure needs a different Bitmap object for each page. But in .net i couldnt find a fine way.[详细]
2023-01-18 11:03 分类:问答VB.NET DrawRectangle For A Table
I want to draw a table in my print output using the System.Drawing.Printing\'s Graphics object. I\'m trying to use the DrawRectangle to draw my table cells. This requires drawing several rectangles in[详细]
2023-01-18 10:35 分类:问答Why is DarkGray lighter than Gray?
Simple curiosity here, tinged with some practical concerns because I get caught out by this occasionally.[详细]
2023-01-18 09:18 分类:问答