IMAGICK.SETITERATORINDEX(3) 1 IMAGICK.SETITERATORINDEX(3)Imagick::setIteratorIndex - Set the iterator position
SYNOPSIS
bool Imagick::setIteratorIndex (int $index)
DESCRIPTION
Set the iterator to the position in the image list specified with the index parameter. This method is available if Imagick has been com-
piled against ImageMagick version 6.2.9 or newer.
PARAMETERS
o $index
- The position to set the iterator to
RETURN VALUES
Returns TRUE on success.
EXAMPLES
Example #1
Using Imagick.setIteratorIndex(3):
Create images, set and get the iterator index
<?php
$im = new Imagick();
$im->newImage(100, 100, new ImagickPixel("red"));
$im->newImage(100, 100, new ImagickPixel("green"));
$im->newImage(100, 100, new ImagickPixel("blue"));
$im->setIteratorIndex(1);
echo $im->getIteratorIndex();
?>
SEE ALSO Imagick.getIteratorIndex(3), Imagick.getImageIndex(3), Imagick.setImageIndex(3).
PHP Documentation Group IMAGICK.SETITERATORINDEX(3)
Check Out this Related Man Page
IMAGICK.OPTIMIZEIMAGELAYERS(3) 1 IMAGICK.OPTIMIZEIMAGELAYERS(3)Imagick::optimizeImageLayers - Removes repeated portions of images to optimize
SYNOPSIS
bool Imagick::optimizeImageLayers (void )
DESCRIPTION
Compares each image the GIF disposed forms of the previous image in the sequence. From this it attempts to select the smallest cropped
image to replace each frame, while preserving the results of the animation. This method is available if Imagick has been compiled against
ImageMagick version 6.2.9 or newer.
RETURN VALUES
Returns TRUE on success.
ERRORS /EXCEPTIONS
Throws ImagickException on error.
EXAMPLES
Example #1
Using Imagick.optimizeImageLayers(3)
Reading, optimizing and writing a GIF image
<?php
/* create new imagick object */
$im = new Imagick("test.gif");
/* optimize the image layers */
$im->optimizeImageLayers();
/* write the image back */
$im->writeImages("test_optimized.gif", true);
?>
SEE ALSO Imagick.compareImageLayers(3), Imagick.writeImages(3), Imagick.writeImage(3).
PHP Documentation Group IMAGICK.OPTIMIZEIMAGELAYERS(3)
Hi all!
I am relatively new to UNIX staff, and I have come across a problem:
I have a big directory, which contains 100 smaller ones. Each of the 100 contains a file ending in .txt , so there are 100 files ending in .txt
I want to split each of the 100 files in smaller ones, which will contain... (4 Replies)
File
=======
20080322|20080321|20080328|34|90880.90000 |3001.100
20080322|20080321|20080328||7|009002.40000 |4001.100
20080322|20080321|20080328|1Y|30000.0000 |5001.100
20080322|20080321|20080328|2M|10000.1100000|6001.100
When executing the below one I am getting all amounts in 1... (3 Replies)
can anyone help me fix this? what command should I use to bring them back to "TRUE"?
Interface Speed Duplex Autoneg
--------- ----- ------ -------
ce0 100 Mbit/s FULL FALSE
ce5 100 Mbit/s FULL ... (3 Replies)
Hi,
I got a solarsi 10 box with 9 zones and the cpu shares as following
ID NAME SHARES
0 global 1
1 FMW1 100
2 FMW2 100
3 OID1 100
4 OID2 100
5 OVD1 100
6 OID0 100
7 FMW5 100
8... (2 Replies)
input
>aa1
aaaaaa
>dd2
aggggg
I have a file with 6000 >IDS and their values
I need to filter 1st 100 names start with > and their values
after that I need to do it for second 100 (2 Replies)
My input:
>AAA_100
10 20 50 60 10 100 15 10
>AAA_100
20 20 50 60 20 100 15 10
>AAA_100
10 20 50 60 40 100 15 10
>AAA_100
40 20 50 60 10 100 15 10
.
.
.
My Output
20 20 50 60 20 100 15 10
If I have a long list of file. I want to calculate average of each position inside the contents... (7 Replies)
I have the list of numbers in a file
105.1
102.0
100.5
100
98
97.5
95
...
I want to get how many times I have numbers greater than a particular limit, say 100 in the list. How can I do that with awk command? (5 Replies)
I'm working on installing ImageMagick and Imagick and could use some help. I have XAMPP installed on OS 10.5.8. I managed to get ImageMagick installed using macports. I then created a .bash_profile and added this path to it:
export PATH=$PATH:/Volumes/bootay/Applications/XAMPP/xamppfiles/bin/... (4 Replies)
Hi,
I have a file. In this file when ever the word "ABC" occurs at position from 25 and 34 I would like to replace
the value at postion 100 to 5 for the first 1000 rows only.
I have written the following Awk command.
nawk 'substr($0,25,9)=="ABC" {print $0}' filename
The above command... (4 Replies)
I have a file like:
I would like to find lines lines with duplicate values in column 1, and retain only one based on two conditions: 1) keep line with highest value in column 3, 2) if column 3 values are equal, retain the line with the highest value in column 4.
Desired output:
I was able to... (3 Replies)
I am new to using AIX but ive ran into issues with 100% full and then rebooting and having a socket error repeating over and over. My question is, what can I do besides just monitoring to ensure I dont run into these issues? Scripts? anything? Thanks (3 Replies)
>CAT data.txt
1|100|100000
1|100|10000
1|100|100
1|100|1000
1|100|100
1|100|100
1|100|100
1|100|1000
Requirement is to cut the 3rd field to 2 letters only.
I want to display ot redirect the output of the command to another file with all records and fields.
tried using AWK , not... (3 Replies)