04-06-2005
You do need alot of help.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok, heres the situation
I have a job interview next week and they use Solaris there for their networking.
I'm basically coming from a windows and novell background, I've been studying Solaris commands an such but I was wondering if someone can breakdown the main differences between windows and... (12 Replies)
Discussion started by: eloquent99
12 Replies
2. UNIX for Advanced & Expert Users
Hello everyone, I was searching for locations where I can get End of Life information on multiple versions of Unix.
I have found some information which I list below, what I have not found or confirmed is where I can get the information for:
DEC Unix/OSF1 V4.0D
NCR Unix SVR4 MP-RAS Rel 3.02.... (2 Replies)
Discussion started by: robertmcol
2 Replies
3. Red Hat
Hi Gurus,
Is there a way to tweak the date format in /var/log/secure (Fedora 11) so that it will have the same date format as in Fedora ver. 6-10.
For Fedora 11:
2010-01-24T07:32:03.767801+09:00 jump sshd: Failed password for root from 189.1.164.92 port 47662 ssh2... (3 Replies)
Discussion started by: linuxgeek
3 Replies
4. Shell Programming and Scripting
Hello Everyone! I am somewhat new to Unix command line and don't have much experience to input on the matter so I wanted to gather some opinion's from people who have been down the road already.
Currently, I am going through a book by John Muster called "Unix Made Easy". I have gone... (2 Replies)
Discussion started by: budfoxcat
2 Replies
5. Shell Programming and Scripting
nawk -F, 'NR==FNR{file=FILENAME;a++;next} a{if(FILENAME~file)next;b++;}
END{ for(i in a){if(a && !b){print "NEW: "i}} for(i in b){if(b)print i"\t\t"b}}' OFS=, 123.csv *.csv
I need to include 123.csv into the equation for the total output currently it compares whatever is on 123.csv against... (27 Replies)
Discussion started by: llcooljatt
27 Replies
6. Shell Programming and Scripting
file1:
A pass
B fail
E pass
file2:
B pass
A fail
E pass
if from file2 introduced new failure then, print failure
It should print: (1 Reply)
Discussion started by: yanglei_fage
1 Replies
7. Shell Programming and Scripting
Hi,
I have date format like 09/08/115(Format : date +%m%d%1y) and i want to differentiate this date with current date and output of difference will compare with a number like
if ; then
commands
else
exit
fi
how can i do that (2 Replies)
Discussion started by: charanarjun
2 Replies
8. Shell Programming and Scripting
so, the first line of bash, perl, python, ruby, and similar languages must contain the path to the interpreter...i.e. #!/bin/perl, or #!/bin/python. so in the case of a perl script, for instance, a perl script cannot and will never run if the perl program is not installed/present on the system. ... (9 Replies)
Discussion started by: SkySmart
9 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)