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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|