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