use this to extract image h and w HttpPostedFile image
Bitmap sourceImage = new Bitmap(image.InputStream, false); int width = sourceImage.Width; int height = sourceImage.Height; On Feb 11, 6:20 pm, Daniel Pupek <d...@agilejedi.com> wrote: > Ok, I have tested this and so far it doesn't seem to work but I wanted to > see if anyone had a suggestion: > > new PatternRoute("/<groupName>/images/Banner(<width>x<height>).png") > .DefaultForArea().IsEmpty > .DefaultForAction().Is("Show") > .DefaultForController().Is("Images") > > I am trying to extract the height and width for the image. > > thanks, > Dan > > Checkout my blog @http://blog.agilejedi.com > Checkout my homepage @http://www.agilejedi.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to castle-project-users@googlegroups.com To unsubscribe from this group, send email to castle-project-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---