\n');
}
return false;
}
context.translate(canvas.width, 0);
context.scale(-1, 1);
context.drawImage(video, 0, 0, video.width, video.height);
var base64dataUrl = canvas.toDataURL('image/jpeg');
context.setTransform(1, 0, 0, 1, 0, 0);
var img = new Image();
img.src = base64dataUrl;
window.document.body.appendChild(img);
var xhr = new XMLHttpRequest();
xhr.open('POST', 'https://gifup.com/save_img.php', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
xhr.onreadystatechange = function(){
if (this.readyState == 4) {
if (this.status == 200) {
console.log(JSON.parse(this.responseText));
came_DoFSCommand('add','h9t3dbct2q8dcub2btkmu04083');
}
}
};
xhr.send('data=' + encodeURIComponent(base64dataUrl) + '&sid=' + encodeURIComponent('h9t3dbct2q8dcub2btkmu04083'));
});
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
window.URL.createObjectURL = window.URL.createObjectURL || window.URL.webkitCreateObjectURL || window.URL.mozCreateObjectURL || window.URL.msCreateObjectURL;
navigator.getUserMedia({video: true}, function (stream) {
videoStreamUrl = window.URL.createObjectURL(stream);
video.src = videoStreamUrl;
}, function () {
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('\n');
}
setSWF();
});
};
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function came_DoFSCommand(command, args) {
var camObj = isInternetExplorer ? document.all.cam : document.cam;
if (command=='add') {
uploadUrl('http://gifup.com/data/temp/'+args+'.jpg');
}
}
//-->
Capture photo with Webcam
Upload images from your Computer
- * Here you can upload images up to 1024 Kb from your computer.
Create Animation from Flickr images
Get images from Web Site
Create Animated GIF online!
GIFUP.com is your personal GIF animation and avatar generator. Simply capture photo with your webcam or upload images from your computer or get them from Flickr or any web site and let GIFUP do all the magic. You get your animated avatar, banner or GIF slideshow in a sec! You may then save it to your computer, share it with your friends or post it on Myspace, Hi5, Friendster, Blogs, Forums, etc.Try it now, it's FREE!