Calculator Tools Calculator Tools
Create

Editor de Imagens

Jan 6, 2024

About this app

Um editor de imagens com vários efeitos e suporte para imagens e PDFs

Editor de Imagens Editor de Imagens Enviar Imagem: Enviar PDF: Efeitos: Arte Pop Negativo Caneta Mágica Turquesa Positivo Pré-visualização:

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>Editor de Imagens</title>
<meta name="description" content="Um editor de imagens com vários efeitos e suporte para imagens e PDFs">
<meta name="keywords" content="editor de imagens, efeitos, arte pop, negativo, caneta mágica, turquesa, positivo, imagens, PDF">

<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">

<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" 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 Pop Art effect
function applyPopArtEffect() {
// Code to apply Pop Art effect goes here
}

// Function to apply Negative effect
function applyNegativeEffect() {
// Code to apply Negative effect goes here
}

// Function to apply Magic Pen effect
function applyMagicPenEffect() {
// Code to apply Magic Pen effect goes here
}

// Function to apply Turquoise effect
function applyTurquoiseEffect() {
// Code to apply Turquoise effect goes here
}

// Function to apply Positive effect
function applyPositiveEffect() {
// Code to apply Positive effect goes here
}

// Function to handle image upload
function handleImageUpload(event) {
// Code to handle image upload goes here
}

// Function to handle PDF upload
function handlePdfUpload(event) {
// Code to handle PDF upload goes here
}

// Event listener for image upload
$("#image-upload").change(handleImageUpload);

// Event listener for PDF upload
$("#pdf-upload").change(handlePdfUpload);
});

} catch (error) {
// This will throw the error to the parent window.
throw error;
}
</script>

<style>
/* App CSS Goes Here */
body {
font-family: 'Roboto', sans-serif;
background-color: #f4f4f4;
color: #333;
}

h1, h2, h3, h4, h5, h6 {
color: #333;
margin-top: 20px;
margin-bottom: 10px;
font-weight: 700;
}

.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
}

.upload-container {
margin-bottom: 20px;
}

.upload-container label {
display: block;
margin-bottom: 10px;
font-weight: 700;
}

.upload-container input {
display: none;
}

.upload-container .upload-button {
display: inline-block;
padding: 10px 15px;
background-color: #333;
color: #fff;
border-radius: 5px;
cursor: pointer;
}

.effects-container {
margin-bottom: 20px;
}

.effect {
display: inline-block;
padding: 10px 15px;
background-color: #333;
color: #fff;
border-radius: 5px;
margin-right: 10px;
cursor: pointer;
}

.image-preview {
max-width: 100%;
height: auto;
margin-bottom: 20px;
}

.pdf-preview {
width: 100%;
height: 500px;
border: 1px solid #ddd;
margin-bottom: 20px;
}
</style>
</head>
<body>
<div id="main-container" class="container">
<h1>Editor de Imagens</h1>

<div class="upload-container">
<label for="image-upload">Enviar Imagem:</label>
<input type="file" id="image-upload">

<label for="pdf-upload">Enviar PDF:</label>
<input type="file" id="pdf-upload">
</div>

<div class="effects-container">
<h2>Efeitos:</h2>
<div class="effect" id="pop-art-effect">
<i class="fa fa-paint-brush"></i> Arte Pop
</div>
<div class="effect" id="negative-effect">
<i class="fa fa-adjust"></i> Negativo
</div>
<div class="effect" id="magic-pen-effect">
<i class="fa fa-magic"></i> Caneta Mágica
</div>
<div class="effect" id="turquoise-effect">
<i class="fa fa-paint-brush"></i> Turquesa
</div>
<div class="effect" id="positive-effect">
<i class="fa fa-adjust"></i> Positivo
</div>
</div>

<div class="image-preview-container">
<h2>Pré-visualização:</h2>
<img src="" alt="Imagem" class="image-preview">
<iframe src="" class="pdf-preview"></iframe>
</div>
</div>
</body>
</html>