Turns cross eye 3D image to paraller stereogram and vice versa.
Works atleast on chrome browser. Just copy to clipboard as on webpage or facebook. File copy doesnt work(i think)
Firefox and opera doesnt work due their secucity settings. File upload doesnt work yet. And may have errors some time, Come again soon.
function tiedosto() {
var fileInput = document.getElementById("fileInput");
var file = fileInput.files[0];
var formData = new FormData();
formData.append("file", file);
fetch('../flipsave.php', {
method: "POST",
body: formData
})
.then(function(response) {
if (response.ok) {
console.log("File uploaded successfully!");
} else {
console.error("File upload failed.");
}
})
.catch(function(error) {
console.error("Error occurred during file upload:", error);
});
}