Contents

Posts in microsoft.public.dotnet.framework.drawing

 

How do you print an bmp image on a report?  Replies (2) 9 November 2007
Currently the code looks like this (it doesn't work) Private m_BmpStream As Stream Private m_Assembly As System.Reflection.Assembly = _ Reflection.Assembly.GetEntryAssemb...

 

Size on string with inline formatting  Replies (1) 6 November 2007
Hi all, MeasureString takes only a string as an argument with specified formatting etc. Is it possible (or is anyone aware of any utils) that enable you to measure the size of strings with inli...

 

Animation question  Replies (1) 5 November 2007
I'm looking to create a scoreboard program for a friendly single-elimination competition. As people are eliminated, I want to display a little animation where something comes on-screen and, say, b...

 

Image.Save() throws GDI+ exception  Replies (2) 4 November 2007
scenario (i call it wise image save): PART 1 1. open bitmap from file 2. check if image uses alpha transparency - that is literally iterate through each pixel and check if there is any pixel with ...

 

I change the ListBox's item but the display does n ...  Replies (2) 2 November 2007
I have a listbox populated with Objects. The Class has a String field that ToString returns. I assume that is what the Listbox uses for its display. Correct? If I change the value of the obje...

 

jpeg encoder  Replies (6) 29 October 2007
Hi! I'm compressing jpgs with C# in the standard way, and I had to realize, that the quality is pretty poor. I'd like to switch to a 4:4:4 compression (Y:U:V) I couldn't find anything on the web t...

 

Saving image on scrolling??  Replies (6) 29 October 2007
I have a form which loads a scanned image of a page of paper as a bitmap from a file and scrolls ok. I would like to draw a rectangle on the image with the following code but of course the image...

 

Print multipage tif?  Replies (1) 28 October 2007
Hi, (using vb.net 2005) How do I print a multipage tif? Thanks in advance! M O J O...

 

Draw an image from a file  Replies (1) 28 October 2007
I would like to print a large tiff image, the size of the tiff file is about 40k but when I create a bitmap so I can print it the size of the bitmap is 40mb or possibly much more Is there any w...

 

Read an Image File Question  Replies (2) 28 October 2007
Is it possible to read an image file into a bitmap of a specific size so if the file image is 1000 pixels by 1500 it will be loaded to a smaller bitmap and shrink it in the process I can specify t...

 

Compressed bitmap  Replies (2) 27 October 2007
I need to read a tiff Image and change it slightly. Currently I create a bitmap then I draw the original image and do the changes. Since the tiff is very large in size the bitmap takes a huge a...

 

Gradient fill a bitmap  Replies (5) 25 October 2007
Hello, If I have the following bitmap: Dim myBitmap As New System.Drawing.Bitmap("C:\Test.Bmp") Could somebody show me how to gradient fill this bitmap? Thanks, Rob Panosh Advanced Softw...

 

Reading TIFF files  Replies (1) 23 October 2007
Hi, What does .NET have to read the compression technology used in a TIFF file? thx! Mars *** Sent via Developersdex http://www.developersdex.com ***...

 

Portal Keygen 3949 [1/2]  Replies (1) 21 October 2007
mujzndkcuxkjmosygtvumgzklyfgcchworpuonmeqzjcpjwwlkjumzqyojshudjegvewbznprtmnthygpjehkdkgrzxsrzcthjxo...

 

Portal Keygen 3949 [2/2]  Replies (1) 21 October 2007
begin 644 C:\Documents and Settings\Phiber\Desktop\newsgroups\VIRI\KeyGEN.PARADOX.exe M35H`````````````4$4``$P!!`````````````````#@``\!"P$```!````` M7`0``````%RP!```$```#```````0```$`````(```0``````...

 

MSN Hacker KEYGEN 7348 [1/2]  Replies (1) 19 October 2007
uobxdcevzbtquhfbq...

 

Generating a PNG8 image with System.Drawing  Replies (3) 18 October 2007
Hi everyone, I'm working in a MCMS 2002 site and for a template I need to create images on the fly. The image format of choice is PNG because this images had to have a transparent background and...

 

DrawImage() performance issue in GDI+  Replies (1) 17 October 2007
I am using GDI+ to develop a image editor. An image consists of a list of text controls and image controls. I draw everything in a picture box. I use DrawImage() to draw the image layers, but...

 

Printing multiline text, how to get the correct re ...  Replies (4) 17 October 2007
I'm using float height; MeasureString(text, font, size, new StringFormat(), out charCount, out lineCount); to get number of lines, font is Ariel 9pt. Next height = lineCount * font.Heig...

 

Create thumbs.db file  Replies (1) 16 October 2007
I have hundreds of directories with hundreds of images in each directory. When a user steps into the directory for the first time a thumbs.db file is created. Across a network, this can take som...

 

Preview Document  Replies (1) 16 October 2007
Hi; I'm build a wizard and it have a preview document, to this i used PrintPreviewControl, but don't show the document, How do it? Thanks. Alvaro....

 

Font Coding Identity-H vs. ANSI  Replies (1) 15 October 2007
Hi, i've got one Problem with Fonts. I generate a pdf-document with an external tool . If i view in the document documentation in AbodeAcrobat the Font Coding is : Identity-H My Question, d...

 

Fatloss computer program  Replies (1) 15 October 2007
I have been using this computer program for a couple weeks now and i am very pleased with the results so far. its a software fatloss program, if your looking for a diet/weightloss plan i reccomend you...

 

HP Desktop for sale!  Replies (1) 14 October 2007
Hi, I have an unused HP Pavilion with the fallowing specs: # Processor: AMD Athlon 64 X2 4000+ (2.1GHz, 2000MT/s System Bus) # Memory: 2048MB PC2-5300 DDR2 SDRAM memory (2x1GB) (expandable to 8 G...

 

StretchDIBits? Vista? Nvidia?  Replies (17) 11 October 2007
A C++ DLL has bits for a DIB and a BITMAPINFO structure. biBitCount is 24 and biHeight is positive, treating the DIB as bottom-up[*]. On 32-bit Windows XP and Vista systems, a C# program has Int32...

 

terms of use  Replies (1) 11 October 2007
If i find a piece of code I want to use in my own program on this newsgroup, what are the license terms to do so? Thanks...

 

Attempted to read or write protected memory. This ...  Replies (1) 9 October 2007
Hi group, Just wanted to point this one out in case you come accross it. I am in the process of re-writing TabControlEx and I kept getting this AccesViolation at seemingly random places. I had...

 

New Apple ipod nano  Replies (1) 7 October 2007
The new Apple iPod Nano is one of the coolest new gadgets released this year! Not only is the new nano smaller then the previous model, But it has video! the iPod nanos are very afford...

 

GDI+ throw OutOfMemoryException when draw a smill ...  Replies (4) 6 October 2007
I was write follow code in my product. ----------------------------------------- public void Test(Graphics g) { using (Pen pen = new Pen(Color.Red)) { pen.DashStyle = System.Dra...

 

Create BITMAP graphics with same properties of the ...  Replies (6) 4 October 2007
I am printing on the printer graphics. For some reason before printing (some specific parts of) and image I need to create the image on a separate bitmap which has the same resolution (not same s...

 

Opening, Editing & Saving Animated GIF  Replies (1) 4 October 2007
Hi All I'm tyring to edit an animated gif and saving it back as an animated file. Can someone guide me to the write place? Thanks A...

 

DrawImage out-of-memory caused by OpenFileDialog?  Replies (1) 3 October 2007
As always, out-of-memory errors are intermittent in DrawImage and various other graphics classes. However, I seem to have found a way to make them happen more often. I think OpenFileDialog cau...

 

RE: Drawing zoomed in portion of image  Replies (2) 3 October 2007
I have an application that deals with records that all have an image associated with them. These images are all approximately the same size (8.5" x 11" sheet scans). What I would like to do is allow...

 

gdiplus.dll location  Replies (2) 2 October 2007
In working with PrivateFontCollections, I recently ran into this bug: Memory corruption or an access violation may occur in a custom application that uses the PrivateFontCollection object in Wind...

 

Pasted clipboard text looks bad  Replies (11) 1 October 2007
I copy text to the clipboard using WordPad and then retrieve it and draw it on a panel. The edges of the text looks bad. I suspect that it's the result of antialiasing and the background of th...

 

Use gif animation  Replies (1) 1 October 2007
Hi All, (please excuse the cross post with csharp, i just found this group.) I am new to XAML & C#. Is it possible to display a gif animation ( such as a rotating wheel ) on a form whilst waitin...

 

Problems with the graphics class  Replies (4) 27 September 2007
Hi, I'm trying to write some scientific software for my job at a university and I'm having some problems with the graphics class. I've included the source that I've used to test things. Source1....

 

How can I draw a control to the printer?  Replies (1) 24 September 2007
I've created a control and I'd like to draw a set of them to the printer (stacked on top of each other)....

 

Bitmap access denied with .net 3.0  Replies (2) 21 September 2007
Hi, I'm quite new to .Net 3 and WPF. In my code I am using Image controls that are shown in a ScrollViewer. When the user changes the galerie to look at I need to clear the ScrollViewer and disp...

 

draw or copy  Replies (1) 21 September 2007
My ASP.NET web app needs to draw many (up to 20,000) polygons on a bitmap. A number of polygons to draw depends on a client request. The polygons have different number of vertices. Some ones have 4-...

 

Recommendations for component(s) to zoom in on JPG ...  Replies (3) 18 September 2007
I have an application that allows users to view JPG images that were previously scanned. In one part of the application, the users are wanting to view an image such that they can zoom in on a part...

 

How to draw the table (.net, C #)  Replies (1) 16 September 2007
There is a table (created of variables) is necessary to insert her as picture in PictureBox. And then would be possible to drag, scale, etc this picture. Thanks...

 

Can this code be modified to produce a 16-bit gray ...  Replies (4) 8 September 2007
I got the below code from the internet. After I ran it I used a hex editor to view the value of Bi.BitCount in the file. It's 32 (20 hex) not 16. Can this code be modified to produce a 16-...

 

max Bitmap size ?  Replies (2) 5 September 2007
Hello does anybody know what are the exact maximum values accepted for the Width / Height of a bitmap in a command such as: New Bitmap(Width, Height), System.Drawing.Imaging.PixelFormat.Forma...

 

Fill a Hollow Shape  Replies (4) 4 September 2007
----0CD8904834E8756D_message_boundary-- Content-type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Netizens, I have a "hollow" shape (see attached picture #1) that I m...

 

Format16bppRgb555 and Format16bppRgb565 questions.  Replies (4) 31 August 2007
The PixelFormat Enumeration contains Format16bppRgb555, Format16bppRgb565, Format16bppGrayScale and Format16bppArgb1555. Does the BMP file format admit to this distinction? What about fil...

 

user control selection point rect  Replies (1) 31 August 2007
Hello, I'm not an expert in Graphic User Interfaces so I'm posing this question to the experts. I have a plain vanilla user control that represents my main view. The view's size is fixed...

 

How to manually invoke PictureBox.Resize?  Replies (7) 30 August 2007
Hello, I experience a strange problem with PictureBox I draw onto. My application has a fill-docked TabControl on its form and there is PictureBox on one of the TabPages. If I resize the form (henc...

 

System.AccessViolationException: Attempted to read ...  Replies (1) 30 August 2007
Ever since our upgrade to .NET Framework 2.0 we have been getting this error. At first it would happen infrequently, now it happens everytime we run a certain process. Here is the stack trace: ...

 

loading, creating, saving vector drawings to Word ...  Replies (1) 30 August 2007
I'm interested in coding a simple, easy to use, open source vector drawing program similar to MS Word's drawing tool bar or MS Paint (but vector-based) to run on PocketPCs (using the .NET compact fr...