Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP How to save image after edit in php
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


ajayrana
How to save image after edit in php
0 Answer(s)      a year and 6 months ago
Posted in : PHP


Hello,

I have create a simple image editor with the effected of brightness, contrast, and desaturat etc. I have used for this pixastic functions from www.pixastic.com. function working successfully but i don't know how to replace orignal image with the effects. please give me answer for this. I shall be very thankful. here below given code which I have used

<script>
var pixastic_parseonload = true;
</script>
<script src="pixastic.core.js" type="text/javascript"></script>
<script src="actions/desaturate.js" type="text/javascript"></script>
<body>
<form name="form1" action="index.php" enctype="multipart/form-data" method="post">
<p>Image to use:</p>
<img id="scream" class="pixastic <?php echo @$_POST["butn1"];?>" src="Desert.jpg" alt="The Scream" width="220" height="277" name="image1">
<button value="pixastic-desaturate()" name="butn1" >Desaturate</button>
</form>

Advertisement
View Answers

Related Tutorials/Questions & Answers:
How to save image after edit in php
How to save image after edit in php  Hello, I have create a simple image editor with the effected of brightness, contrast, and desaturat etc. I have... successfully but i don't know how to replace orignal image with the effects. please
How to save image on the server by applet
How to save image on the server by applet  HI, in my project I am... If user want to export this chart as GIF format then this chart should be save as a gif image on the server directory. Can any Body help me how can I do it Thanks
Advertisements
How to save image on the server by applet
How to save image on the server by applet  HI, in my project I am... If user want to export this chart as GIF format then this chart should be save as a gif image on the server directory. Can any Body help me how can I do it Thanks
PHP GD Image Resize
<?php $file = 'images.jpg'; $save = 'new.jpg'; list($width..., $width, $height) ; imagejpeg($tn, $save, 100); echo("Image created... = imagecreatetruecolor($modwidth, $modheight) ; $image = imagecreatefromjpeg
how to update image in php
how to update image in php  how to update image in php
how to save uploaded image in database using javascript
how to save uploaded image in database using javascript  Please can you tell me how to store uploaded image in database using java I'll use the upload code as extArray = new Array(".gif", ".jpg", ".png"); function LimitAttach
Edit image - XML
Edit image  How to edit my Image Document Online?  Just visit http://www.onlinedocumentconversion.com/ and register there, upload and convert your image
image save to folder in java
image save to folder in java  Hi, I am working with java. In my application i want to give facility to user to add and change image. I use open dialog box to select image, it will work properly i.e on button click open dialog
how to edit a record in hibernate?
how to edit a record in hibernate?  how to edit a record in hibernate?   Hi Friend, Please visit the following link: Hibernate Tutorials Thanks   Hi Friend, Please visit the following link: Hibernate
rotate image in php - PHP
rotate image in php   Function to rotate image in PHP
Dojo Inline Edit Box
; In this section, you will learn how to edit any data... then it open as an editable mode. In this mode, you edit the text and save it. Whenever you don't save the editable text then it can't be save so, after
PHP GD rotate image
<?php $image = 'images.jpg'; $degrees = 180; header('Content-type: image/jpeg') ; $source = imagecreatefromjpeg($image) ; $rotate = imagerotate($source, $degrees, 0) ; imagejpeg($rotate) ; ?> After running
change the name of the image after uploading the image
change the name of the image after uploading the image   my form consists of a textbox and uploading the image.after uploading the image i want to change the name of the image with the content of the textbox before saving
Full path of image to save it in a folder
Full path of image to save it in a folder  Sir ,I am trying to upload a file but only sends file name as parameter. I want a code that would help me to find that image path &upload it as well. I am just a beginner in jsp
i want to save image on server folder. and i want to save URL of this folder and name of image in database
i want to save image on server folder. and i want to save URL of this folder and name of image in database  hi i want to save image on server folder. and i want to save URL of this folder and name of image in database.on click
Java- Save Image into project folder in web application
Java- Save Image into project folder in web application  I have a requirement of saving the image into project folder .. which is a web application... want to save the image..when I am trying to create empty folder and get
PHP GD image convolution
<?php $image = imagecreatefromjpeg('images.jpg'); $emboss = array(array(2, 0, 0), array(0, -1, 0), array(0, 0, -1)); imageconvolution($image, $emboss, 1, 127); header('Content-Type: image/jpeg'); imagejpeg($image
How can we get the properties (size, type, width, height) of an image using php image functions?
How can we get the properties (size, type, width, height) of an image using php image functions?  How can we get the properties (size, type, width, height) of an image using php image functions
uploading image in php - PHP
uploading image in php  I am looking for a PHP script to upload image into mysql database
PHP GD crop image
<?php $src = imagecreatefromjpeg('image1.jpg'); $dest...('Content-Type: image/jpeg'); imagegif($dest); imagedestroy($dest); imagedestroy($src); ?> After running the program you will get the following output
PHP GD fill image
<?php $im = imagecreatetruecolor(55, 30); $white...); imagejpeg($im, 'imagefilledrectangle.jpg'); echo("Image filled rectangle created and saved successfully"); imagedestroy($im); ?> After
save the uploading image with user specified name
save the uploading image with user specified name  My form consists of a textbox and an upload image with submit button.When i submit the form I want to save the uploaded image in a folder with user specfied name
save the uploading image with user specified name
save the uploading image with user specified name  My form consists of a textbox and an upload image with submit button.When i submit the form I want to save the uploaded image in a folder with user specfied name
How to save value in JSP
How to save value in JSP  Employee Name Time-IN Time-OUT... 324 2012-12-12 save i want to save dis value jsp to action ...how can i get all value ..and store..how can its values goes
PHP GD image filter
<?php $logo1 = imagecreatefromjpeg('images.jpg'); $logo2...); imagedestroy($logo1); imagedestroy($logo2); header('Content-Type: image/jpeg'); imagejpeg($output); imagedestroy($output); ?> After running the program
Save profile and image to mysql database, and view the image in another jsp page
Save profile and image to mysql database, and view the image in another jsp page  Pls. need help in saving the profile info with the image in mysql database.. some basic code pls in jsp... thanks in advance
PHP GD watermark an Image
<?php ini_set("display_errors", "1"); error_reporting(E_ALL); $image_src = 'images.jpg'; $watermark_src = 'watermark.jpg'; $opacity = 30; $padding = 20; $image = imagecreatefromjpeg($image_src
PHP GD copy of image
<?php $src = imagecreatefromjpeg('images.jpg'); $dest...('Content-Type: image/jpeg'); imagejpeg($dest); imagedestroy($dest); imagedestroy($src); ?> After running the program you will get the following
PHP GD Colorization of image
<?php $im = imagecreatefromjpeg('images.jpg'); if($im && imagefilter($im, IMG_FILTER_COLORIZE, 0, 255, 0)) { echo 'Image successfully... { echo 'Green shading failed.'; } ?> After running the program you
Insert image from user using and save in database
Insert image from user using and save in database  when i am trying to upload a image from user and trying to save into oracle9i database....   dear sir or madam, i wont to How to Store Image Into The Database
PHP GD Hue an Image
<?php $im = imagecreatefromJPEG('images.jpg'); echo 'Hue white& black:' . imagecolorclosesthwb($im, 116, 115, 152); imagedestroy($im); ?> After running the program you will get the following output OUTPUT:Hue
Advertisements
 

 

 

DMCA.com