As of January 13, 2007, I'm ZCE/Zend Certified Engineer (PHP 5)
After seeing feature rich options in Imagick PECL extension at Mikko Koppanen 's (the author) website and also impressed with ImageMagick 's features, I have decided to use it for the PSD to XHTML conversion website that I'm architecting and managing. Since, the team wants programming help for converting PSD images, I have tried it (documentation is sparse on PSD handling) Converting PSD to PNG/JPEG/etc Note that, flattenImages() is needed for layered/multi-page PSD file. <?php $im = new Imagick('test.psd'); $im->flattenImages(); $im->setImageFormat('png'); $im->writeImage('test.png'); ?> Extracting PSD layers One by one <?php $im = new Imagick('test.psd'); $im->setImageFormat('png'); for ($i = 0, $num_layers = $im->getNumberImages(); $i $im->setImageIndex($i); $im->writeImage('layer' . $i . '.png'); } ?> Note that, there is a better version below In a single call with writeIm...
Comments
i am a zend novice and in desperate need of someone's help in learning zend. I understand the layering of the framework but get confused as to put which file where. Can u please direct me to an authentic,tutorial not documentation but tutorial for a fresh starter like me
Because so far the tutorials that i have come across are not proper in the sense it produces errors.Please help.thanks
Am preparing for my Zend certification. I do have 1 year of experience in PHP so could u help me in the preparation for my certification.
Thanks
Ramya.C