Zend - The PHP Company




External

Add Code


COM + Photoshop Example  

Type: code fragment
Added by: mikew
Entered: 10/04/2002
Last modified: 04/12/2001
Rating: - (fewer than 3 votes)
Views: 6604
COM and photoshop, opening image and running and action


<?php
$ps 
= new COM('Photoshop.Application') or die("Unable to instanciate Photoshop");
$ps->Open('c:423.jpg');      
$ps->Visible 1;
$ps->PlayAction('do some stuff then save and close image');
$ps->Quit();
$ps->Release();
$psnull;

?>


Usage Example




Rate This Script





Search



This Category All Categories