 |
 | Testing CopySourceAsHtml 
Thursday, January 11, 2007 12:46 PM
|
|
 |
Testing testing
53 #region Instance Constructors 54 55 public _Default () 56 { 57 States.Add (new State ("AK", "Alaska")); 58 States.Add (new State ("AL", "Alabama")); 59 States.Add (new State ("AR", "Arkansas")); 60 States.Add (new State ("CA", "California")); 61 } 62 63 #endregion
Pretty frickin' sweet.
|
|
|
|
 |
|
 |
From VS 2005:
using (FileStream fsImage = new FileStream ("Homer.jpg", FileMode.Open, FileAccess.Read)) { ImageInfo imageInfo = new ImageInfo (); imageInfo.SetInput (fsImage); imageInfo.CollectComments = true; imageInfo.DetermineNumberOfImages = true; if (imageInfo.Check ()) { Console.WriteLine ("File Format: {0}", imageInfo.Format); Console.WriteLine ("MIME Type: {0}", imageInfo.GetMimeType ()); Console.WriteLine ("Width (pixels): {0}", imageInfo.Width); Console.WriteLine ("Height (pixels): {0}", imageInfo.Height); Console.WriteLine ("Bits per pixel: {0}", imageInfo.BitsPerPixel); Console.WriteLine ("Progressive: {0}", imageInfo.IsProgressive); Console.WriteLine ("Number of images: {0}", imageInfo.NumberOfImages); Console.WriteLine ("Physical width (dpi): {0}", imageInfo.PhysicalWidthDpi); Console.WriteLine ("Physical height (dpi): {0}", imageInfo.PhysicalHeightDpi); Console.WriteLine ("Physical width (inches): {0}", imageInfo.PhysicalWidthInch); Console.WriteLine ("Physical height (inches): {0}", imageInfo.PhysicalHeightInch); Console.WriteLine ("Number of textual comments: {0}", imageInfo.NumberOfComments); for (Int32 ixComment = 0; ixComment < imageInfo.NumberOfComments; ixComment++) { Console.WriteLine ("\t{0}", imageInfo.GetComment (ixComment)); } } }
|
|
|
|
 |
|
 |
Hmm... doesn't look so hot after the ASP.NET site conversion...
Jon Sagara
On a traffic light yellow means yield, and green means go. On a banana, it's just the opposite, yellow means go ahead, green means stop, and red means, where'd you get that banana?
-- Mitch Hedberg
.NET Blog | Personal Blog | Articles
|
|
|
|
| |
 |
 | My Real Blog [modified] 
Thursday, April 22, 2004 12:26 PM
|
|
 |
Easily Amused[^]
Jon Sagara
If you've ever watched 6-year-olds playing soccer, that's what the mainstream media is like.
-- Jon Stewart
My Articles
modified on Friday, March 28, 2008 3:04 AM
|
|
|
|
| |
 |
 | Testing new sig 
Tuesday, March 25, 2003 8:49 PM
|
|
 |
Here we go...
Jon Sagara
I have no complaint with the “mentoring concept” or the marriage concept or the sex concept. But if you pay for any of those, something’s wrong.
-- John T. Reed in The real estate B.S. artist detection checklist (new window)
|
|
|
|
 |
|
 |
A little overwhelming, but I'll roll with it for a while.
Jon Sagara
I have no complaint with the “mentoring concept” or the marriage concept or the sex concept. But if you pay for any of those, something’s wrong.
-- John T. Reed in The real estate B.S. artist detection checklist (new window)
|
|
|
|
 |
|
 |
Removed some line breaks. How does it look?
Jon Sagara
You know the world is off tilt, when the best rapper is a white guy, the best golfer is a black guy, the tallest basketball player is Chinese, and Germany doesn't want to go to war.
-- Charles Barkley
|
|
|
|
 |
|
 |
again...
Jon Sagara
They gave me penicillin because I have sniffilis.
-- A friend's response when asked why he went to the doctor
|
|
|
|
| |
 |
 | I passed 2000 posts! 
Wednesday, October 9, 2002 8:10 AM
|
|
 |
Woo hoo!
Damn, no one's looking.
Jon Sagara
Help me out here, Spock. I don't speak stupid.
|
|
|
|
 |
|
 |
Congratulations Jon
Regards,
Brian Dela
|
|
|
|
 |
|
 |
Congrats! That reminds me, I've got to kill Colin for pushing me out of the top five chataboxes...
Live for today and die tomorrow.
|
|
|
|
 |
|
 |
Good for you! And I was all excited about reaching 1000 posts not too long ago...
Even a broken clock is right twice a day.
|
|
|
|
| |
 |
 | What is this? A blog? 
Monday, September 16, 2002 7:32 AM
|
|
|
 |
|
 |
Jon Sagara wrote:
What is this? A blog?
Looks like it. Your personal thoughts and observations can now be preserved for all time under the heading Personal Page for Member 7539...
|
|
|
|
 |
|
 |
Does this count toward post counts? Is it visible on the front page?
Jon Sagara
Damnit Jim!
|
|
|
|
 |
|
 |
Jon Sagara wrote:
Does this count toward post counts?
Yes
Jon Sagara wrote:
Is it visible on the front page?
No (thank gawd)
Jon Sagara
Damnit Jim!
|
|
|
|
 |
|
 |
Looks like you answered your own questions. I like that
Regards,
Brian Dela
|
|
|
|
 |
|
 |
I believe you told me a while back that you do. I am trying to organize a SF bay area CPian get-together. Definitely one during VSLive. I was trying to get one together kind of soon for Nish but no one from this area spoke up.
Cathy
Life's uncertain, have dessert first!
|
|
|
|
 |
|
 |
Nope, I live in SLO, about 3-4 hours south. Please keep me informed of the date, though, because I would love to attend if I can make it up there.
Jon Sagara
When I want something, I just go out and buy it. That makes me a go-getter.
-- My sister
|
|
|
|
 |