Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

imagick.whitethresholdimage(3) [php man page]

IMAGICK.WHITETHRESHOLDIMAGE(3)						 1					    IMAGICK.WHITETHRESHOLDIMAGE(3)

Imagick::whiteThresholdImage - Force all pixels above the threshold into white

SYNOPSIS
bool Imagick::whiteThresholdImage (mixed $threshold) DESCRIPTION
Is like Imagick::ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged. PARAMETERS
o $threshold - RETURN VALUES
Returns TRUE on success. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 2.1.0 | | | | | | | Now allows a string representing the color as a | | | parameter. Previous versions allow only an Imag- | | | ickPixel object. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 Imagick.whiteThresholdImage(3) <?php function whiteThresholdImage($imagePath, $color) { $imagick = new Imagick(realpath($imagePath)); $imagick->whiteThresholdImage($color); header("Content-Type: image/jpg"); echo $imagick->getImageBlob(); } ?> PHP Documentation Group IMAGICK.WHITETHRESHOLDIMAGE(3)

Check Out this Related Man Page

IMAGICK.SETIMAGEDELAY(3)						 1						  IMAGICK.SETIMAGEDELAY(3)

Imagick::setImageDelay - Sets the image delay

SYNOPSIS
bool Imagick::setImageDelay (int $delay) DESCRIPTION
Sets the image delay. For an animated image this is the amount of time that this frame of the image should be displayed for, before dis- playing the next frame. The delay can be set individually for each frame in an image. PARAMETERS
o $delay - The amount of time expressed in 'ticks' that the image should be displayed for. For animated GIFs there are 100 ticks per sec- ond, so a value of 20 would be 20/100 of a second aka 1/5th of a second. RETURN VALUES
Returns TRUE on success. ERRORS
/EXCEPTIONS Throws ImagickException on error. EXAMPLES
Example #1 Modify animated Gif with Imagick.setImageDelay(3) <?php // Modify an animated Gif so that it's frames are played at a variable speed, // varying between being shown for 50ms down to 0ms, which will cause the frame // to be skipped in most browsers. $imagick = new Imagick(realpath("Test.gif")); $imagick = $imagick->coalesceImages(); $frameCount = 0; foreach ($imagick as $frame) { $imagick->setImageDelay((($frameCount % 11) * 5)); $frameCount++; } $imagick = $imagick->deconstructImages(); $imagick->writeImages("/path/to/save/output.gif", true); ?> PHP Documentation Group IMAGICK.SETIMAGEDELAY(3)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Quota threshold

Hi, I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold. I have made a script for it but I am facing an error while executing it. Could any one here guide me further?? Script #!/bin/sh warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies

2. Shell Programming and Scripting

color a figure in text file

Good morning, Can someone help to color a figure in columns if its exceeding a threshold using shell script . ex. I have file contains 5 columns showing a value in % I need to show the value in red if it exceed 90 % Appreciate your help (3 Replies)
Discussion started by: Bluetoot
3 Replies

3. Solaris

Rootvol above threshold

Hi there, Root filesystem is above threshold, I have search and cleared unwanted files which are filling up space. But the root fs is still above threshold. I don't know about veritas volume management. Can anyone show me how to solve this. Du shows /proc is occupying a lot of space. Most of the... (2 Replies)
Discussion started by: sundar63
2 Replies

4. 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

5. Shell Programming and Scripting

Sending Alert mail

I need to design a script which will run evry hour and work in such a way that i need to send an alert mail if some value exceeds the threshold value. But, if the value is within the threshold value then it will just send once report mail. (1 Reply)
Discussion started by: rahulparo
1 Replies

6. Shell Programming and Scripting

get mail when matching with threshold value

HI Guys Below is my file structure and now I want if % is equal and above 95% then I will get the mail with the name of that filesystem and threshold value. Is someone help me ? 55G 33G 22G 61% /mnt/projects/stp2int4_web_runtime 16G 14G 1.7G 90%... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

7. UNIX for Dummies Questions & Answers

httpd count exceeded threshold limit

Hello Everyone, I am new to this forum and also unix/linux. Our application today threw an alert whcih read as "The users active count on host has crossed the threshold limit of 50 and is standing at 65." This was although cleared when I restarted tomcat. But I am not sure why this count... (0 Replies)
Discussion started by: ykhati
0 Replies