Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet drawing api > may 2008

The story: Painting bitmap to screen is slow
Posted by TomazK at 5/20/2008 11:10:25 AM
A little story about GDI+ performance. I've done a lot graphics programming by now and the thing that bothers me with GDI+ in .NET framework the most is slow drawing of bitmaps to screen. I usually do this on the control's OnPaint event or drawing it directly to its graphics int...more >>


TiffBitmapEncoder and Thresholding
Posted by levi at 5/16/2008 2:17:05 PM
Sorry if this question is vague, but is there any way to set the Thresholding value for a TiffBitmapEncoder? I am converting an EMF -- > PixelFormats.BlackWhite TIFF image, but the only problem is that the file size is humongous compared to the old method that we were using (TIFF print driver)....more >>

Thumbnail from a white image makes a gray border...
Posted by Timur Zanagar (ClockWorkZ) at 5/14/2008 12:26:52 AM
Hi folks, I've made a test bitmap file in Photoshop with 100 x 100 size and it is only white. Now I'm getting a thumbnail from this image and the result is that this image is not white. This function makes a gray border on the left and on the top. Is this a bug? This function is from this sit...more >>

Fill Problem When Displaying a Large Metafile
Posted by george@neosoft.com at 5/13/2008 3:17:17 PM
When displaying a long (400+ inches) metafile, the fill patterns fail to display correctly starting approximately 32,000 pixels down in the fill regions. A row of pixels appears to be duplicated for the remainder of each fill region. Note: this is a problem which can be duplicated using the ...more >>

Error Saving EMF Metafile from Clipboard
Posted by levi at 5/9/2008 8:16:59 AM
I have a C# application that monitors the clipboard. When an EMF comes through, I get the EMF data from the clipboard and attempt to save it off as a TIFF image. When I do so, I get "A generic error occurred in GDI+" error. Marshal.GetWin32LastError returns 127 (ERROR_PROC_NOT_FOUND). Howeve...more >>

OptimizedDoubleBuffer and Layered Window!
Posted by Ă–zden_Irmak at 5/7/2008 2:53:11 PM
Hello There, I've a layered window where I put a control in it to show as a popup. I'm providing rounded borders as well. I'm using Vista as My test environment and today noticed a strange thing. When Glass is enabled, there is no problem but when it's disabled (Vista Basic), the parts o...more >>

does GetFormats return CF_DIBV5 if it is present on the clipboard
Posted by AAaron123 at 5/6/2008 9:28:09 PM
If there is a format on the clipboard that is not represent in DataFormats, say, CF_DIBV5 does GetFormats return it? and can GetDataPresent and GetData handle it? thanks ...more >>

What is the Max pixel value for DrawLine()?
Posted by Israel at 5/5/2008 2:07:02 PM
I saw a previous post with this same basic question back in 2005 but it doesn=92t look like anyone really answered the question of what the max is. I also found it (empirically) to be about 1.1. billion but I don=92t feel right hard coding an empirically found number. In my situation I=92m writ...more >>



Matrox cards for GDI+ accelleration?
Posted by Holy Samosa at 5/5/2008 10:53:09 AM
Is anyone using the old Matrox Parhelia (or any other) cards that supposedly offered hardware acceleration of GDI+? If so, I'd like to hear your comments on the performance. Although these cards are old, I have a 2d graphics intensive demo application that will only need to run on a few dem...more >>

Exception in Bitmap.Save
Posted by Ramendra Kotharkar at 5/2/2008 12:09:00 AM
I am facing some problem in Bitmap.Save function... Here is the scenario: - Create a bitmap image A from a bitmap file - Create a bitmap image B with same attributes as bitmap image A - Get BitmapData using LockBits on bitmap image B - Read the bytes information of bitmap A - Copy bytes inform...more >>


DevelopmentNow Blog