Image Editor - O editor de imagens mais famoso do mundo
About this app
Um poderoso editor de imagens com os efeitos caneta mágica, colorido, negativo, arte pop e positivo.
Image Editor - O editor de imagens mais famoso do mundo Image Editor - O editor de imagens mais famoso do mundo Caneta Mágica Colorido Negativo Arte Pop Positivo Enviar Imagem
Related apps
Put this on your site
Source
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Image Editor - O editor de imagens mais famoso do mundo</title>
<meta name="description" content="Um poderoso editor de imagens com os efeitos caneta mágica, colorido, negativo, arte pop e positivo.">
<meta name="keywords" content="image editor, editor de imagens, caneta mágica, colorido, negativo, arte pop, positivo">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script type="text/javascript">
try {
// App Javascript Goes Here. Place your entire script content inside the try block for error handling.
// This will run when the DOM is ready.
document.addEventListener("DOMContentLoaded", function() {
// Function to apply magic pen effect
function applyMagicPenEffect() {
// Get the image element
var image = document.getElementById("image");
// Apply the magic pen effect
image.style.filter = "url(#magic-pen-filter)";
}
// Function to apply colorful effect
function applyColorfulEffect() {
// Get the image element
var image = document.getElementById("image");
// Apply the colorful effect
image.style.filter = "url(#colorful-filter)";
}
// Function to apply negative effect
function applyNegativeEffect() {
// Get the image element
var image = document.getElementById("image");
// Apply the negative effect
image.style.filter = "url(#negative-filter)";
}
// Function to apply pop art effect
function applyPopArtEffect() {
// Get the image element
var image = document.getElementById("image");
// Apply the pop art effect
image.style.filter = "url(#pop-art-filter)";
}
// Function to apply positive effect
function applyPositiveEffect() {
// Get the image element
var image = document.getElementById("image");
// Remove any existing filters
image.style.filter = "";
}
// Function to handle image upload
function handleImageUpload() {
var input = document.getElementById("image-input");
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function(e) {
var image = document.getElementById("image");
image.src = e.target.result;
}
reader.readAsDataURL(input.files[0]);
}
}
// Event listener for magic pen button click
document.getElementById("magic-pen-btn").addEventListener("click", applyMagicPenEffect);
// Event listener for colorful button click
document.getElementById("colorful-btn").addEventListener("click", applyColorfulEffect);
// Event listener for negative button click
document.getElementById("negative-btn").addEventListener("click", applyNegativeEffect);
// Event listener for pop art button click
document.getElementById("pop-art-btn").addEventListener("click", applyPopArtEffect);
// Event listener for positive button click
document.getElementById("positive-btn").addEventListener("click", applyPositiveEffect);
// Event listener for image upload
document.getElementById("image-input").addEventListener("change", handleImageUpload);
});
} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>
<style>
/* App CSS Goes Here */
body {
background-color: #f5f5f5;
font-family: 'Roboto', sans-serif;
}
h1 {
color: #333;
text-align: center;
margin-top: 30px;
margin-bottom: 30px;
}
.btn {
margin-right: 10px;
}
.image-container {
text-align: center;
margin-bottom: 30px;
}
#image {
max-width: 100%;
height: auto;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
input[type="file"] {
display: none;
}
.file-upload-label {
display: inline-block;
padding: 10px 20px;
background-color: #333;
color: #fff;
border-radius: 6px;
cursor: pointer;
}
.file-upload-label:hover {
background-color: #111;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Image Editor - O editor de imagens mais famoso do mundo</h1>
<div class="image-container">
<img id="image" src="https://via.placeholder.com/500" alt="Imagem" />
</div>
<div class="btn-group" role="group" aria-label="Efeitos">
<button id="magic-pen-btn" class="btn btn-primary"><i class="fa fa-magic"></i> Caneta Mágica</button>
<button id="colorful-btn" class="btn btn-primary"><i class="fa fa-paint-brush"></i> Colorido</button>
<button id="negative-btn" class="btn btn-primary"><i class="fa fa-adjust"></i> Negativo</button>
<button id="pop-art-btn" class="btn btn-primary"><i class="fa fa-paint-brush"></i> Arte Pop</button>
<button id="positive-btn" class="btn btn-primary"><i class="fa fa-check"></i> Positivo</button>
</div>
<div class="image-upload">
<input type="file" id="image-input" accept="image/*" />
<label for="image-input" class="file-upload-label"><i class="fa fa-upload"></i> Enviar Imagem</label>
</div>
<svg xmlns="http://www.w3.org/2000/svg">
<filter id="magic-pen-filter">
<feColorMatrix type="matrix" values="1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0" />
</filter>
<filter id="colorful-filter">
<feColorMatrix type="matrix" values="1.2 0 0 0 0
0 1.2 0 0 0
0 0 1.2 0 0
0 0 0 1 0" />
</filter>
<filter id="negative-filter">
<feComponentTransfer>
<feFuncR type="table" tableValues="1 0" />
<feFuncG type="table" tableValues="1 0" />
<feFuncB type="table" tableValues="1 0" />
</feComponentTransfer>
</filter>
<filter id="pop-art-filter">
<feComponentTransfer>
<feFuncR type="table" tableValues="1 0 1" />
<feFuncG type="table" tableValues="0 1 1" />
<feFuncB type="table" tableValues="0 1 0" />
</feComponentTransfer>
</filter>
</svg>
</div>
</body>
</html>
NEW APPS
These are apps made by the community!