Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials?
Which language and any tutorials? Which language and any tutorials?
Which language and any tutorials?
Go Back  Xtreme Visual Basic Talk > > > Which language and any tutorials?


Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2013, 07:59 AM
zunebuggy zunebuggy is offline
Newcomer
 
Join Date: Sep 2010
Posts: 19
Talking Which language and any tutorials?


On my web page, I would like to have square image, with a hat and moustache and the rest of the image is a solid color. I would like it so visitors browse for a file of themselves and it will appear behind the hat and moustache pictures essentially overlaying the hat and moustache on their pictire of them. They can position and resize their image until it looks satifactory. It in no way has to look prefect and in fact is made to be somewhat comical. Then I would like the vistor to have the option to save the finished merged images as their avitar for my web site.

1). What language is best for this?

2). Can you point me to some examples where I can get started? An online tutorial of something similar to this would be great.

I am very strong in VB languages and fairly skilled in C based languages, however I have not attempt to do anything with live editing within a web page before. The most I have done is some graphics program in VB and some very basic line drawings in C in college.

Thank you very much!
Reply With Quote
  #2  
Old 02-12-2013, 11:07 AM
hDC_0Which language and any tutorials? hDC_0 is offline
Contributor

* Expert *
 
Join Date: Feb 2004
Posts: 559
Default multi-layering of images (or custom image manipulation) on a web page

There are a whole bunch of ways to do this.

Quote:
Originally Posted by zunebuggy
What language is best for this?
It's not really about languages as it is about which technique or approach to use.

One approach..
The hat and moustache images could be layered on top using HTML div tags.
If they are crude solid images I would use gif images.
Quote:
Originally Posted by zunebuggy
I would like it so visitors browse for a file of themselves and it will appear behind..
I assume by "file of themselves" you mean a picture file..possible a face photo?

Photos are usually jpg (jpeg) type images, although if you need to use a photo with a transparent background then a png file image would probably would work best.

Are the users going to cut out the face from the background or where you planning to have server side code do that after the upload?

Here's the issue - by what mechanism are you going to get the user to upload the image to your web server?

The displaying of the face photo with the hat and moustache images overlaid on top can be done inside a browser or web control on the user's client side computer.

Get the photo uploaded is probably going to take some kind of programming on the server side of things.

Another approach..
You can also draw the hat and moustache onto the user's face photo using server side programming, then
in the html div tag of the client side browser or web control, you just show the completed image.


I suspect for you the difficult part will be the server side programming.

I would recommend php or asp.net for the server side code implementation.
Most asp.net example code you will find uses C# (not VB.Net code) like this photo upload project.
The basics of uploading an image using php is on this page.

Probably if you use php on the server side some javascript may be necessary on the client side,
to allow the user to press a form button have the user face photo uploaded on the submit.

You could do something like this in flash or silverlight but it's a little bit more involved.

There are tons on pages on working with images and doing image manipulation using Asp.Net, here's one (at random) to get you started.

..and of course if you get into store the user's face images in a database,
for later retrieval when the user visits the page again,
then that's another whole layer of complexity.

Last edited by hDC_0; 02-12-2013 at 11:15 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials? Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials? Which language and any tutorials?
Which language and any tutorials?
Which language and any tutorials?
 
Which language and any tutorials?
Which language and any tutorials?
 
-->