all groups > dotnet drawing api > april 2006 > threads for april 1 - 7, 2006
Filter by week: 1 2 3 4 5
Filled polygons print to PDF as opaque
Posted by billw NO[at]SPAM online.nospam at 4/7/2006 12:06:02 PM
I am using .NET 1.1 (C#) to draw a graph.
I am having trouble printing overlapped polygons that are filled with a
transparent brush (HatchBrush(AHatchStyle, AColor, Color.Transparent)) to a
PDF (or any PostScript based printer.) They print as though they are opaque,
not tranparent. I co... more >>
Want Gif, but got PNG
Posted by Liming at 4/6/2006 9:36:15 AM
Hi all,
I have a byte[] and I'm trying to stream it back to my aspx page using
Resposne.OutputStream
I set the content-type to "image/gif".. but when I stream it back, I
got a png instead.
here is a watered down version
HttpContext.Current.Response.Clear();
HttpContext.Current.Respons... more >>
ugly drawn text to bitmap buffer
Posted by carry at 4/5/2006 11:07:12 PM
Hi all
I'm drawing text and some other shapes on bitmap buffer. All objects
just in one pass, but the text looks fuzzy as it were painted more times
when bitmap is dropped on Graphics. I checked it with diagnostic output
and it's drawing method is called just once, same as on other shapes.
... more >>
Convert unsafe code to safe, how to convert pointers to regular GDI+ methods?
Posted by Liming at 4/5/2006 3:42:09 AM
Hi all,
Can anybody help me with this? I'm trying to convert this Color
Quantaizaton code from unsafe to safe, but I don't understand pointers.
How can I do convert this code to the safe version?
I know from research, I can get a byte of a bitmap by doing
byte pSourceRow = Marshal.ReadB... more >>
Cropping or extracting ellipse from image
Posted by brett.raven NO[at]SPAM gmail.com at 4/5/2006 2:18:35 AM
Hi,
I need to write a C# method that grabs an elliptical 'sample' from an
image and save it to a new image. More pointedly, I need to take a
rectangular picture of someones face, place an elliptical outline
centred on their nose (basically) and make everything outside that
ellipse a transpare... more >>
Outer limits of DrawLine?
Posted by Owkmann at 4/4/2006 6:22:11 PM
When I run the following code, I get two lines, the first draws normally,
but the second looks like an error. Simply reducing 8.4e6 to 8.3e6 causes
the line to draw correctly. Am I doing something wrong here, or is this a
bug? Is there a way to use the larger X value without scaling? I am usin... more >>
Optimizing the intersection of polygons
Posted by chris_cook_work NO[at]SPAM yahoo.co.uk at 4/2/2006 6:22:01 PM
Hi,
Having cobbled together the following polygon and line structures, I'd
appreciate any suggestions on how to improve them.
In particular, I'd gratefully receive any advice on how to speed up the
intersection routine either by optimizing it or replacing it with a
more efficient approach.
... more >>
TIFF missing NewSubtypeFile kills GDI+
Posted by realfnad NO[at]SPAM gmail.com at 4/1/2006 3:04:52 AM
Hi all
I've been pulling my hair out over this one all day.
If I try and load a TIFF image that is missing PropertyItem 254, GDI+
becomes very unstable. Generally these are 1bit PackBit compressed TIFF
files. I've had crashes in Bitmap.New(myStream) at
GdipImageForceValidation. I researched... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|