9 More Discussions You Might Find Interesting
1. AIX
Hi,
Is it possible to use mkdvd to create a bootable DVD using a mksysb on tape as the source image?
On the system concerned, we don't have enough free space to create the mksysb to file first, so would like to use the existing tape mksysb backup.
The DVD disk/s will then be used to boot a... (4 Replies)
Discussion started by: alanp36
4 Replies
2. Red Hat
Hi everyone,
I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder.
I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies
3. AIX
Hello,
Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this..
mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y
When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
4. AIX
This may be a dumb question and the more I think about it the worst it seems!!
I have inherited some standalone systems where they are using the mksysb command to create a disk file image; this image is then backed up to Networker.
My dumb question is how would we go about restoring this... (4 Replies)
Discussion started by: gz3xzf
4 Replies
5. Linux
Hi,
Can i just ask how I can create a bootable PXE image from the built kernel source.
What files do I need to get?
Thanks! (1 Reply)
Discussion started by: h0ujun
1 Replies
6. AIX
i have been given a bootable cd/dvd, that i install a ibm aix 185 workstation with, i want to make a nim mksysb resource from that,
the following is a listing for the root file structure of the cd/dvd, seems someone took a mksysb of a built ibm aix machine and did mkcd -L -S -I and setup the... (2 Replies)
Discussion started by: asyed123
2 Replies
7. AIX
Hi,
Can any one please tell me the method to check whether a mksysb image which is in the server is bootable or not. :confused:
Thanks in advance,
Anoop (1 Reply)
Discussion started by: anoopraok
1 Replies
8. AIX
Hello,
I have an mksysb image in my disk, created like:
# mksysb -i /mnt/backup/lpar2.image
I want to know if this image could be copied to a tape and make it a boot image.
Thanks
Enzote (3 Replies)
Discussion started by: enzote
3 Replies
9. AIX
hello
i saved my system this morning, mksysb tape, and i have the message: "boot.image exceeded the size....." i have not the end because the message is disappeared.
where can i find the mksysb message in a log ?
the message is scary ?
thank you (6 Replies)
Discussion started by: pascalbout
6 Replies
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)