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 > august 2007 > threads for august 22 - 28, 2007

Filter by week: 1 2 3 4 5

graphical color interpolation
Posted by Victor at 8/28/2007 12:33:15 PM
Hi, I am a newbie in the C# graphical arena and I have the following problem. I have a 2D disk in which I have a few points, each point having x, y coordinates and also a value associated with it which represents profit (or loss). What I want to do is to create a background with a gradient go...more >>


Tying to convert a 8bpp to 4 bpp
Posted by \ at 8/28/2007 8:44:34 AM
I'm about ready to give up. Been trying to convert a 8bpp to 4 bpp but haven't found a way. I can us Quantizer to generate a 16 color palette but that changes the pixel format to 8 bpp. I can convert to 4 bpp using GetDIBits but that converts to the standard VGA palette. So I can com...more >>

Disabled icon
Posted by TumurS at 8/27/2007 12:00:00 AM
Hi! I have about hundred of small bitmaps I have to use in my web app as small icons on some image map. Every icons represented with these bmps should be drawn in 2 states: 1. normal (as is) 2. disabled (dimmed, i.e. with some "grayed" color) I'm not a image designer and lack of knowledge abou...more >>

Can't draw? Try going native? Yeah right.
Posted by Norman Diamond at 8/27/2007 12:00:00 AM
How many invalid parameters are there in the following method call? myScaledHdc = myScaledGraphics.GetHdc(); Running in the debugger, Visual C# 2005 SP1 says there's at least one invalid parameter in the above call. And the invalid argument exception was unhandled, well no kidding about t...more >>

Can an indexed BMP file be saved as 4bpp?
Posted by \ at 8/26/2007 9:58:11 AM
I'd like to be sure I completely understand: There is no way, using Dotnet and/or some free software, to save an indexed GIF file as anything but 8bpp. Right? What about other indexed files like BMP. Same problem? What files have that property. Knowing this before I work with them...more >>

Mouse Dragging and drawing a rectangle
Posted by RobinS at 8/24/2007 3:22:53 PM
I am drawing a rectangle on a picture that has already been drawn on the graphics area (a user control). It works something like this: //in the MouseDown event m_isDragging = true; m_oldX = e.X; //save original positions m_oldY = e.Y; //in the MouseMove event if (m_isDragging) ...more >>

Compressing PNG with given quality
Posted by pamela fluente at 8/23/2007 3:53:18 AM
Hello I am saving JPG file with the following SUB. Sub SaveJPG(ByVal Image As Image, ByVal FileName As String, _ ByVal QualityLevel_0_100 As Byte, _ ByVal ColorDepthLevel As Byte) Dim ImageCodecInfoJPG As ImageCodecInfo = GetEn...more >>

OutOfMemory is intermittent, maybe here's why
Posted by Norman Diamond at 8/23/2007 12:00:00 AM
After a call to Graphics.DrawImage, an OutOfMemory error might occur. The probability of an error has some correlation with the size of the image but is not reliable. Even with an image of a few hundred megabytes, sometimes the error occurs and sometimes not. Some random postings on the web...more >>




DevelopmentNow Blog