gdi+
Replace colors in indexed image using C#
I\'m using Graphics.DrawImage to write a index bitmap into another image. The color black in the indexed image should be replaced with a transparent color when written to the \"targetBitmap\"[详细]
2023-02-18 12:33 分类:问答How to control the orientation of Drawstring?
I want to draw a string as an axis label. When I draw the string with following code, I can read it \"from the left\". The base line of the text is at the left side.[详细]
2023-02-18 10:00 分类:问答C# GDI+/System.Drawing.Graphics - creating a buffer and manually blitting?
I\'m creating a cad viewer which deals with very large image files and I am trying to optimise it for as high a framerate and low a memory footprint as possible.[详细]
2023-02-18 07:03 分类:问答Does GDI+ have standard image encoder CLSIDs?
The GDI+ Image::Save method requires a CLSID parameter to specify the encoder to use. The documentation points to some sample code for getting the encoder associated with a particular MIME type, such[详细]
2023-02-17 18:17 分类:问答Is the drawing surface of the Graphics object in PaintEventArgs relative to the ClipRectangle?
I\'m overriding OnPaint in my control. At times, my control gets invalidated with a clipping rectangle (e.ClipRectangle), which is smaller than the size of the control.[详细]
2023-02-17 12:04 分类:问答GDI+: Draw underlined space with DrawString
Hallo, i want to draw a justified text in GDI+. When this text is underlined I have a problem, with the DrawString method:[详细]
2023-02-16 17:58 分类:问答Scrollable Controls and Areas in .NET with GDI+
I am having trouble understanding the proper way to create a scrollable area within a custom control using C#, .NET 3.5 and GDI+.[详细]
2023-02-16 01:58 分类:问答Printing images with partial transparency without introducing distortions
I\'m having some troubles printing images and texts that have a 8 bit alpha channel. It looks like most printer drivers will incorrectly render the alpha channel, adding some dithering patterns instea[详细]
2023-02-16 01:41 分类:问答Windows splash screen using GDI+
The eventual aim of this is to have a splash screen in windows that uses transparency but that\'s not what I\'m stuck on right now.[详细]
2023-02-15 20:00 分类:问答Graphics.DrawImage OutOFMemory Exception
I\'m getting an OutOfMemory Exception when trying to resize larger images. Our server can only resize images of less then 1000x1000 pixels. My development machine seems too handle any size, and other[详细]
2023-02-15 09:33 分类:问答