vm-image-manage 0.0.3 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News vm-image-manage 0.0.3 (Default branch)
# 1  
Old 02-18-2008
vm-image-manage 0.0.3 (Default branch)

Imagevm-image-manage is a simple script for managing asmall cluster of Xen virtual machines on a singlehost with one command. It's optimized forrepeatedly restarting a virtual machine slot withan image. It features templates for Xenconfiguration files. It speeds the import andexport of Xen images to tgz archives. It speedsfrequent redeployment with rsync. It managesmounting domains when the VM is down andun-mounting when the domain is launched.License: Mozilla Public License (MPL)Changes:
The configuration file format was changed back toini files. Now you can specify multiple boxes onthe command line. The program now unmounts bydevice (rather than by mount point) per virtualmachine templates.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
IMAGECOLORSTOTAL(3)							 1						       IMAGECOLORSTOTAL(3)

imagecolorstotal - Find out the number of colors in an image's palette

SYNOPSIS
int imagecolorstotal (resource $image) DESCRIPTION
Returns the number of colors in an image palette. PARAMETERS
o $image - An image resource, returned by one of the image creation functions, such as imagecreatefromgif(3). RETURN VALUES
Returns the number of colors in the specified image's palette or 0 for truecolor images. EXAMPLES
Example #1 Getting total number of colors in an image using imagecolorstotal(3) <?php // Create image instance $im = imagecreatefromgif('php.gif'); echo 'Total colors in image: ' . imagecolorstotal($im); // Free image imagedestroy($im); ?> The above example will output something similar to: Total colors in image: 128 SEE ALSO
imagecolorat(3), imagecolorsforindex(3), imageistruecolor(3). PHP Documentation Group IMAGECOLORSTOTAL(3)