View Complete Post
I have created a image upload for our ID card system to allow users to upload new images, edit them and submit for approval. This is all working well with a combination of asp.net (c#) and jquery to give a seemless editor etc.
We have had a few users who I cannot believe have scanned a photo of themself and then just submitted it with the A4 page of white and little photo.
I am wondering if anyone can help with a suggestion on how I could possibly reduce the load of these coming through (I can't believe they can be this stupid), it stipulates UK passport standards.
Would my only option be to check for a single continues colour that occurs and if it reaches a certain percentage point say 60% then to just send back an error stating they need to crop the image.
Can anyone help with providing sample or that I can use to move this one on.
I am still in disbelief on this one. the other one is they take a photo of whole body and other in it and cut straight down middle chopping the people out but supplying a photo that no use for an id photo card....but that I can't imagine being solved programatically as I need to determine where their face dimensions are and what percentage of the actual photo is taken up by it and if it below a threshold reject it.
I am using aspose.slides to create PPTx's. Some of the process involves loading jpg's from another server and including them in the presentation. This works fine in my development environment. When I upload the site to its server, the jpg loading fails.
I am trying to access jpg's on the other server by:
oFS = New FileStream(sFile, FileMode.Open, FileAccess.Read)
This causes an access violation error when run from the server.
I also boiled the code down to reading the file directly:
oImg = System.Drawing.Bitmap.FromFile(sFilePath)
This causes a file not found error.
We have narrowed the problem down to the fact that the File Path has a space in it. How does one solve this problem (while still keeping the space, there is a lot of legacy data)? I have tried replacing the space with %20 or +. I have tried using Server.UrlEncode. The error message always comes back with the encoding in place (like no decoding
With the help of Silverlight Deep Zoom and a remarkable control named MultiScaleImage, you can create scenes with many levels of zoom. Jeff Prosise illustrates with what else but the Mandlebrot set.
MSDN Magazine July 2009
Developers often struggle with versioning workflows and their related classes. Matt Milner discusses the core issues related to workflow versioning and provides recommendations for making changes to workflow definitions, activities, and workflow services.
MSDN Magazine May 2009
Custom field types provide a powerful way to define a reusable SharePoint column definitions.
Learn how to enable an auditing solution for Windows SharePoint Services (WSS) 3.0 with customized control pages in Microsoft Office SharePoint Server (MOSS) 2007.
MSDN Magazine September 2008
Here's a custom branding solution for SharePoint sites that integrates Master Pages and CSS files at the level of the site collection.
MSDN Magazine July 2008
See how to use Word to capture a VBA macro and use Visual Studio Tools for Office to wrap it up into a deployable Word add-in.
MSDN Magazine May 2008
Ted Pattison shows how to use a new STSDEV utility to set up and deploy SharePoint development projects in Visual Studio in an easy and repeatable manner.
MSDN Magazine March 2008
This month Ted Pattison presents an overview of programming security and permissions for Windows SharePoint Services 3.0.
MSDN Magazine February 2008
Windows SharePoint Services (WSS) 3.0 provides a new and improved infrastructure for handling server-side events. In this installment of Office Space, we look at techniques for hooking up Before Events and After Events using both Features and code.
MSDN Magazine November 2007
WSS 3.0 introduces a new deployment mechanism that lets you move your development efforts into a staging or production environment.
MSDN Magazine August 2007
MSDN Magazine May 2007
This new column explores how you can extend and customize Microsoft Office System applications and file formats.
MSDN Magazine February 2007
Stanley Lippman moves Text Query Language to the Microsoft .NET Framework using the C++/CLI language extensions in Visual C++ 2005.
Stanley B. Lippman
MSDN Magazine December 2006
Windows Forms applications solve many of the problems inherent in building Web applications the old fashioned way?with HTML. To demonstrate the use of Windows Forms over the Web, the author takes his existing app, Wahoo!, and ports it to Windows Forms. In doing so, he discusses versioning, linked files, security, storage isolation, the deployment model, and everything else you need to get started building your own Windows Forms apps for the Web.
MSDN Magazine July 2002