all groups > dotnet drawing api > april 2006 > threads for april 8 - 14, 2006
Filter by week: 1 2 3 4 5
Out of Memory when editing graphic...
Posted by Wade at 4/14/2006 10:00:42 AM
Hi,
I have code that adds a BarCode to a scanned image that is stored in a SQL
database. It works fine for scanned images that are 8.5 x 11, but I also
have some images that are 24x36. When I try to add the barcode to these
larger images I get the Out of Memory error.
I put the image on ... more >>
Drawing irregular shapes with user interaction.
Posted by Randolpho at 4/13/2006 8:31:55 PM
I'm working on a project that involves irregular shapes -- nodes in a
complex animated directed graph, really -- and I was wondering about
how I should go about building my architecture.
I've been fooling around with a "roll my own" approach, in that I'm
drawing the shapes in a Panel.OnPaint m... more >>
overlaying text on Windows Media Player
Posted by Keith Langer at 4/13/2006 11:58:27 AM
Hi,
I was wondering if anyone can tell me how to transparently overlay text
and images on a Windows Media Player or Shockwave control.
thanks,
Keith Langer
... more >>
Graphics disappear on some computers
Posted by seodfac NO[at]SPAM yahoo.com at 4/12/2006 8:16:44 PM
I am having a problem getting my graphics to stay on a form on certain
machines. I have a heat transfer project that does some calculations
and then gives a visual representation of the results. The graphics are
done within the code and look great, but on computers without visual
studio, the gra... more >>
Creation of icons with transparent pixel
Posted by Pizzi at 4/12/2006 8:50:18 AM
Hi
I have to create some icons (from bitmaps) with transparent pixels.
The problem is that creating them with
"System.Drawing.Icon.FromHandle(mybitmap.GetHicon())" makes the
transparent pixels in the bitmap black !!
I tries settings the pixels in the bitmpa to every possible color
(Transpa... more >>
Gray out obejcts in a disabled custom draw control
Posted by Jason Ho at 4/12/2006 12:00:00 AM
Hi All,
I created an owner draw Listbox with icon in each item.
When I disable the listbox, the content and scrollbar inside will not be
gray out automatically.
Any suggestion to make the icon gray out (apply a filter to the icon bitmap
before drawing can work?) and also have to make sc... more >>
Polygon.Contains equivelant.
Posted by Steve at 4/11/2006 6:10:51 PM
Is there an equivelant to the Rectangle.Contains(Point) but for a Polygon.
I'd like to detect if the mouse is over a wierd shape that I've drawn.
Thanks.
Steve.
... more >>
Transparent Picturebox possible ?
Posted by grubertm NO[at]SPAM gmail.com at 4/11/2006 12:19:22 PM
Despite searching for the past 4 days I have not found any solution to
what should be a simple task:
Create a PictureBox which renders its Image with an alpha value so that
other control underneath it can show through, similar to what you get
by setting a Forms opacity.
The usual recommendati... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Cycling Images Does not refresh picture box (and is really slow)
Posted by Ezekiel571 at 4/11/2006 9:10:36 AM
Hello,
I am trying to cycle images (tif) through a picture box. Say 5 or so.
Its really slow and does not refresh for each image. How can I make
sure that the user can see the images and also speed it up.
Im using vb .net and wrote basically the same code in c# to see if it
was faster.
Any... more >>
Saving Jpeg/Exif info Please Help.
Posted by TheGanjaMan at 4/11/2006 5:56:45 AM
Hi everyone,
I'm trying to write up a simple image stamper application that stamps the
Exif date information from the jpegs that I've taken from my digital
camera and saves the new file with the date stamped on the lower right
part of the picture. (I'm not an advanced programmer so my code ... more >>
Help with Clipboard format - CF_METAFILEPICT
Posted by J at 4/11/2006 12:00:00 AM
Hi everyone, I'm having some problems with the various clipboard formats,
hopefully someone can give me some pointers.
A certain application seems to copy it's image data to the clipboard as
MetafilePict and not MetafileEnhanced. How can I get the data from the
MetafilePict clipboard ent... more >>
Generic GDI error
Posted by Josh at 4/11/2006 12:00:00 AM
Hi,
I'm going nuts trying to work out why I'm getting a "Generic" error. I've
included the code below. The error occurs when trying to save the file (
marked with a "HERE" comment). This is a console app'. Any help or
suggestions for reading appreciated. Thanks
FileStream fs = new F... more >>
Just starting
Posted by Chris Saunders at 4/10/2006 11:01:53 PM
Using VS 2005.
I'm just beginning to learn about drawing in .NET, sorry if this question
seems stupid.
Here is some code:
public partial class MainForm : Form
{
Bitmap b;
public MainForm()
{
InitializeComponent();
int w = Cli... more >>
Array of Images
Posted by Meher at 4/10/2006 6:20:40 PM
Hi:
Can anyone please give me a possible solution.
I need to write a function in .NET which would accept an array of image urls
and should return one image. The method should create a new image by
iterating through each image url, read the image and overlap one image above
the other and ... more >>
How to get the real / total heigt of a text-line
Posted by vstudio NO[at]SPAM web.de at 4/10/2006 12:58:56 PM
Hi
I have problems to display certain lines of text on my display. I know
how many rows are in my text, eg 20. And I know the resolution of my
Screen: Screen.PrimaryScreen.Bounds.Width
Now I want to display my text with Verdana bold as big as possible.
Something is wrong or missing in my func... more >>
Using GDi to Annotate a tiff in VB .Net
Posted by Ezekiel571 at 4/10/2006 12:51:12 PM
I was trying to open a tiff and write text to it using GDI when I came
across the error
"pixel format of the original image is indexed"
I have read the groups and followed the instructions in order to come
up with a solution but the problem Im having now is the sizing.
When I open my image ... more >>
Draw something after a button click !!!
Posted by news.microsoft.com at 4/9/2006 11:43:11 PM
Hi,
I tryed to draw a rectangle but it only appears when the code is in the
Paint Event.
I would like to know how can I draw something after a button click.
Thanks in advance
CC
... more >>
Drawing in picturebox
Posted by shulya at 4/9/2006 3:17:59 AM
hello everyone,
I am using a picturebox to show a map image.
Only a part of the map image is loaded each time.
The user can grab the map image in the picturebox and move it inside
the picturebox.
whenever the user reaches the part of the map which is not loaded , the
new part of the map is l... more >>
|