Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

imagick.setiteratorindex(3) [php man page]

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

split function

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)
Discussion started by: ktsirig
4 Replies

2. Shell Programming and Scripting

Match words

I have two files First one is as follow: 5:John 4:Michel 9:Rachel 100:George Second file is as follow: 9 100 4 5 5 4 9 100 100 (8 Replies)
Discussion started by: moutaz1983
8 Replies

3. Shell Programming and Scripting

Awk help

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)
Discussion started by: mohan705
3 Replies

4. Shell Programming and Scripting

Value repeating problem in columns

Hi, I have a file like this 0817 0201364 1 866 . . . . . . . 574 . 100.0 100.0 5529737 1 TV 0817 0201364 2 1440 . . . . . . . . . . . 5529737 1 TV 0817 0201364 6 1323 . . . . ... (2 Replies)
Discussion started by: Sandeep_Malik
2 Replies

5. Solaris

NIC problem

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)
Discussion started by: uuontario
3 Replies

6. Solaris

CPU resources

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)
Discussion started by: fugitive
2 Replies

7. Shell Programming and Scripting

pick first 100 symbols along with its contents

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)
Discussion started by: repinementer
2 Replies

8. Shell Programming and Scripting

Calculate average of each of position of contents in a huge file

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)
Discussion started by: patrick87
7 Replies

9. Programming

awk programming

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)
Discussion started by: pranto_d
5 Replies

10. OS X (Apple)

Installing Imagick

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)
Discussion started by: earachefl
4 Replies

11. Shell Programming and Scripting

Help with Complex Awk.

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)
Discussion started by: pinnacle
4 Replies

12. Shell Programming and Scripting

Find lines with matching column 1 value, retain only the one with highest value in column 2

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)
Discussion started by: pathunkathunk
3 Replies

13. AIX

Directories getting 100% capacity

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)
Discussion started by: terry.berger
3 Replies

14. Shell Programming and Scripting

Repeat line convert upper line

HI Guys, My Input :- R3 AV44 50 0 100 100 100 R3 AV44 1 0 100 100 100 R3 AV45 50 0 100 100 100 R3 AV45 0 3 100 100 100 R3 AV45S 50 0 100 100 100 R3 AV45S 0 4 100 100 100 Output :- R3 AV44 50 0 100 100 100 1 0 100 100 100 R3 AV45 50 0 100 100 100 0 3 100 100 100 R3 AV45S 50 0... (9 Replies)
Discussion started by: pareshkp
9 Replies

15. Shell Programming and Scripting

awk

>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)
Discussion started by: airesh
3 Replies