Hi I have placed this code in my controller (changed the file locations a bit to map to /files/upload under cakephp 'webroot' folder. Nothing happens. Atleast I don't see any new file created. What might be going wrong here?
$im = new imagick( 'files/upload/test.pdf[0]' ); // convert to jpg $im->setImageColorspace(255); $im->setCompression(Imagick::COMPRESSION_JPEG); $im->setCompressionQuality(60); $im->setImageFormat('jpeg'); //resize $im->resizeImage(290, 375, imagick::FILTER_LANCZOS, 1); //write image on server $im->writeImage('files/upload/test.jpg'); $im->clear(); $im->destroy(); -Adhi -- View this message in context: http://cakephp.1045679.n5.nabble.com/ImageMagick-Cake-Ver-2-0-4-tp5126927p5708152.html Sent from the CakePHP mailing list archive at Nabble.com. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php