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 want to develop an asp.net application, which deals with editing of any image.
I want my software to have following features -:
1. It should be able to detect the current properties of selected image like contrast,
brightness, hue, saturation, color and similar stuffs regarding an image.
2. It should be able to modify these properties of the selected image i.e. increasing/decreasing
the brightness, hue and others.
Where should i begin from..?
I am working on an application which performs stamping of HD images at very high frame rate.
AFAIK GDI is the best, but i heard WPF uses Hardware acceleration.
To make it faster which technology will be better ?
GDI / GDI+ / WPF ?
Thanks in Advance..
I have an image(Jpeg). I want to accept the color code from the user and manipulate the image to get the new image having the supplied color from the original image.
Ex. In an Indian flag, there are 3 colors(like color filled bars. Red, White, Green). If I supply red color (FF0000), the new image should be only 1 bar having the red color.
How can I do it? How can I manipulate images?
Thanks in advance
i need a gallary like following link.
actually,i bound multiple image in a gridview using handler(.ashx).
for example,in one dep_id(1),there are 6 image and i need to slideing one by one.
could some one help me,how i can do like this?
i think is it easy in jquery.
please someone help me.
i am binding images dynamically(back end)for a datalist .iam applying a slideshow for it .I am getting a problem to apply slideshow for dyanmically binded images.If the define in a div statically it working perfectly
for example pls go through my code below:
<div class="slideshow"> <img src="images/30_dummy.jpg" width="200" height="200" /> <img src="images/aquarius.gif" width="200" height="200" /> <img src="images/star.gif" width="200" height="200" /> <img src="images/the-proud-indian-flag-1.jpg" width="200" height="200" /> </div>
I above code works perfectly and the slide show e
My database has a products table that has images stored in a varbinary(MAX) column.
I'm trying to display product information in a repeater and trying to display the images as well by using a GenericHandler class but I can't get the image to show up in my page.
Here is my Handler.ashx class:
Public Class Handler
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
'== Set up the response settings
context.Response.ContentType = "image/gif"
context.Response.BufferOutput = False
Dim id As Integer = -1
Dim stream As Stream = Nothing
If Not String.IsNullOrEmpty(context.Request.QueryString("id")) Then
id = context.Request.QueryString("id")
stream = GetImage(id)
Const buffersize As Integer = 1024 * 16
Dim buffer(buffersize) As Byte
'byte buffer = new byte[buffersize];
Dim count As Integer = stream.Read(buffer, 0, buffersize)
While count > 0
context.Response.OutputStream.Write(buffer, 0, count)
count = stream.Read(buffer, 0, buffersize)
I want to use an image inside a Custom Web server control !
Do I need to use Web.resources ? if so , how to do ?