|
|||||
|
Big Island Color Image Conversion Web Service
Big Island color offers a FREE image conversion web service through this website. At present, we do not require a userid/password to access this service, but this is subject to change if the volume of usage requires us to limit access.
Our service uses the SOAP protocol. Three parameters are required: the URL of your image (in the form "http://your.domain/yourimage.ext"), the name of the output image file (for example, "yournewimage.jpg"), and whether or not to flatten a multi-layer image into one file (logical "true" or "false" - if left unset, this defaults to not flatten the image). Image size is limited to 2MB. The service returns the URL of the converted image on our web server. Converted images are removed periodically, so your SOAP client should process the image immediately and not depend on the returned URL being valid for any particular period of time. You may view our WSDL file here.
Here is a sample client, written in PHP and using the NuSOAP collection of PHP classes:
<?php
require('nusoap.php');
$imageurl = 'http://www.yourdomain.com/photoshop-image.psd';
$outputimage = 'photoshop-image.jpg';
$flatten = false;
$parameters = array($imageurl, $outputimage, $flatten);
$c = new soapclient('http://www.bigislandcolor.com/icserver.php');
$result = $c->call('imageConvert', $parameters);
if (!$err = $c->getError()) {
echo '<p>Your image is at: <a href="'.$result.'">'.$result.'</a></p>';
} else {
echo '<p style="color:red">An error occurred: '.$err.'</p>';
}
?>
|
|
||||
|
|
|||||
|
Copyright © 2004-2010 Big Island Color. All rights reserved. Website design by PCV Software. |
|||||