08-03-2005
16:9 aspect ratio in X windows
How do I set X so that it has a 16:9 aspect ratio? I am trying to load it onto a display monitor, the bootloader and comand line run in 16:9 but when x starts it goes to a normal ratio.
8 More Discussions You Might Find Interesting
1. Programming
Hi, everybody.
I wanted to know the networking aspect of Linux i.e how Linux works using networks.
If anyone knows it or the site or book where I can find this topic then please inform me.
Thanks a lot for your co-operation. (1 Reply)
Discussion started by: kinnaree
1 Replies
2. Solaris
All.
How can i calculate the fragmentation ratio on a mounted disk, given that i have no root privilege and i cannot switch to single user mode. (0 Replies)
Discussion started by: Negm
0 Replies
3. Shell Programming and Scripting
in the instance of a file compressed with compress to a .Z extension...
how would I, in the Bourne Shell, capture its compression ratio? Gunzip returns -1 and I'd then gone down the track of roughly calculating the ratio (not including time) manually.
Until I found out the Bourne Shell... (7 Replies)
Discussion started by: nortypig
7 Replies
4. UNIX for Dummies Questions & Answers
Dear friends,
Does any one know about alert "write catch hit ratio" on Solaris 9?
How to avoid???? (0 Replies)
Discussion started by: solaris5.10
0 Replies
5. UNIX for Dummies Questions & Answers
Hi, I have the following file called addresses, (it is a large file i have only copy and pasted few of the data below) and I am wanting to write a command so it will Find the ratio of mobile (07....) to land line (01....) telephone numbers?
then find the most popular first name and list the... (1 Reply)
Discussion started by: tina_2010
1 Replies
6. Shell Programming and Scripting
Hi all,
I have a tab-delimited text file in which i have a few columns which look like,
X Y U V
2 3 4 5
4 5 3 4
6 4 3 2
For example, I want to calculate the ratio (X+Y)/(X+Y+U+V) for each row and print the output.
X Y U V ... (3 Replies)
Discussion started by: mehar
3 Replies
7. Shell Programming and Scripting
Thanks Bartus11 for your help in the following code to compare the two files "t1" and "t2".
awk 'NR==FNR{a=1;next}$2 in a{print $2}' t1 t2
First can anyone explain that what is the purpose of assigning a =1?
Second, the current script is printing out the matched columns between the... (4 Replies)
Discussion started by: coder83
4 Replies
8. Shell Programming and Scripting
Hello geeks, Find below a Perl script am writing to calculate some failure rate in our GPRS network, am just starting to use perl for scripting.
#!/usr/bin/perl
#Script written to calculate the following:
#PDP activation failure rate for every 15 minutes interval
#Number of Active PDP... (1 Reply)
Discussion started by: infinitydon
1 Replies
LEARN ABOUT PHP
imagescale
IMAGESCALE(3) 1 IMAGESCALE(3)
imagescale - Scale an image using the given new width and height
SYNOPSIS
resource imagescale (resource $image, int $new_width, [int $new_height = -1], [int $mode = IMG_BILINEAR_FIXED])
DESCRIPTION
imagescale(3) scales an image using the given interpolation algorithm.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $new_width
- The width to scale the image to.
o $new_height
- The height to scale the image to. If omitted or negative, the aspect ratio will be preserved.
Caution
You should always provide the height if using PHP 5.5.18 or earlier, or PHP 5.6.2 or earlier, as the aspect ratio calcula-
tion was incorrect.
o $mode
- One of IMG_NEAREST_NEIGHBOUR, IMG_BILINEAR_FIXED, IMG_BICUBIC, IMG_BICUBIC_FIXED or anything else (will use two pass).
RETURN VALUES
Return the scaled image resource on success or FALSE on failure.
CHANGELOG
+-------------+---------------------------------------------------+
| Version | |
| | |
| | Description |
| | |
+-------------+---------------------------------------------------+
|5.5.19/5.6.3 | |
| | |
| | The calculation of the height if $new_height was |
| | negative or omitted was fixed; prior to these |
| | versions, the aspect ratio was not maintained |
| | correctly. |
| | |
+-------------+---------------------------------------------------+
PHP Documentation Group IMAGESCALE(3)