12-16-2014
Congratulations to Corona688 for 20,000 Posts!
Please join me in congratulating and thanking Corona688 for 20,000 top quality posts at unix.com !
These 17 Users Gave Thanks to Neo For This Post:
6 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
Surreal quote from the news link below:
http://www.washingtonpost.com/wp-dyn/articles/A44615-2002Nov12.html (0 Replies)
Discussion started by: Neo
0 Replies
2. What is on Your Mind?
On behalf of the forums, we are so happy to see such an amazingly rescue of the 33 miners. What a great and happy story of human endurance and team work to save miners trapped nearly 700 meters underground.
Bravo Chile !!
We salute you!!! (5 Replies)
Discussion started by: Neo
5 Replies
3. What is on Your Mind?
Hi all,
Please join me to congrats Neo for crossing 10,000 posts count.
I think he is the first to have this count with the longest journey (12 yrs) at unix.com. At least I didn't see any other member with the same or more figures.Mods, please correct me if wrong. Perderabo is likely to be the... (6 Replies)
Discussion started by: clx
6 Replies
4. What is on Your Mind?
Hello All,
Let's join our hands together to appreciate Corona688 for completing and reaching to the landmark of 4000+ THANKS. I do want to appreciate Corona688 on behalf of everyone here in forum for Corona688's continuous effort of posting very useful, full of experience and knowledge posts in... (7 Replies)
Discussion started by: RavinderSingh13
7 Replies
5. What is on Your Mind?
Hello All forum members,
I would like to take this opportunity to THANK RudiC for his tremendous achievement, guidance, help for helping in forums, let us join our hands together for his GREAT achievement :b:
@Rudi sir,
How are you sir?
you ROCK, please keep up the great work sir :b:
... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
6. What is on Your Mind?
Hello All,
I would like to take this opportunity to CONGRATULATE RudiC sir, (on behalf of all of us); please join your hands with me for congratulating RudiC sir for completing 4500 THANKS in forums. He is a GREAT ASSET in this forums and from years and years he is giving NICE, QUICK, Innovative... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
IMAGEPNG(3) 1 IMAGEPNG(3)
imagepng - Output a PNG image to either the browser or a file
SYNOPSIS
bool imagepng (resource $image, [string $filename], [int $quality], [int $filters])
DESCRIPTION
Outputs or saves a PNG image from the given $image.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $filename
-The path to save the file to. If not set or NULL, the raw image stream will be outputted directly.
Note
NULL is invalid if the $quality and $filters arguments are not used.
o $quality
- Compression level: from 0 (no compression) to 9.
o $filters
- Allows reducing the PNG file size. It is a bitmask field which may be set to any combination of the PNG_FILTER_XXX constants.
PNG_NO_FILTER or PNG_ALL_FILTERS may also be used to respectively disable or activate all filters.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+--------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+--------------------------------+
| 5.1.3 | |
| | |
| | Added the $filters parameter. |
| | |
| 5.1.2 | |
| | |
| | Added the $quality parameter. |
| | |
+--------+--------------------------------+
EXAMPLES
<?php
$im = imagecreatefrompng("test.png");
header('Content-Type: image/png');
imagepng($im);
imagedestroy($im);
?>
SEE ALSO
imagegif(3), imagewbmp(3), imagejpeg(3), imagetypes(3), imagesavealpha(3).
PHP Documentation Group IMAGEPNG(3)