Krzysztof Mossakowski
.NET Programming
2009 - Tasks
ASP.NET web application - Simple Image Editor
Single wep page
Editor has to make available following functionality:
loading image from the client computer
in case of incorrect file format alert should be shown to user
adding text to image, following parameters can be specified
text
color - hexadecimal format
RRGGBB
position - at the top or the bottom of the image
image can be downloaded in selected format - PNG or JPEG, with the specified name
when no image has been loaded the default one should be provided, e.g.
no download is available then
Hints:
HttpImputFile.PostedFile
ClientScript.RegisterStartupScript(), alert()
IHttpHandler, IReadOnlySessionState
HttpResponse.AddHeader("Content-Disposition", "attachment; filename=File_Name.Ext");
Approximate points:
image loading & displaying: 2.0
error alert: 1.0
default image: 1.0
adding text: 3.5
image download: 2.5
Links for uploading:
solutions
corrections