Sponsored Content
Full Discussion: HTML5 Elements for UNIX.COM
The Lounge What is on Your Mind? HTML5 Elements for UNIX.COM Post 303026521 by Neo on Thursday 29th of November 2018 12:20:19 AM
Old 11-29-2018
DITTO.

Fixed the IE=edge error in the validator with both of these PHP headings:

Code:
header('Content-type: text/html; charset=utf-8');
header('X-UA-Compatible: IE=edge');

Image

I'm awesome ... LOL.... 350+ down to one in a day and a quarter Smilie

I had no idea I would ever become some kind of amazing web master like this... haha
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To return the elements of array

Hi, Please can someone help to return the array elements from a function. Currently the problem I face is that tempValue stores the value in myValue as a string while I need an array of values to be returned instead of string. Many Thanks, Sudhakar the function called is: ... (5 Replies)
Discussion started by: Sudhakar333
5 Replies

2. Shell Programming and Scripting

just want certail elements

I just want to be able to take every 6 value out of an arrays can someone tell me what i'm doing wrong? the data looks like 1500680,Treverbyn,397,1,2136,4420 and i want the 2 element treverbyn out of every row #hour0.pl my $url = 'http://en19.tribalwars.net/map/tribe.txt'; use... (1 Reply)
Discussion started by: frenchface
1 Replies

3. UNIX and Linux Applications

graphical elements under Control-M

Hello Guys... My customer is trying to use Control-M to schedule a batch file that runs my application and executes one Javascript, but he is facing problems with the graphical ellements from my application, that has a splash screen showing the name of the application, the license used and a... (0 Replies)
Discussion started by: ftrapnell
0 Replies

4. UNIX for Dummies Questions & Answers

Help with editing string elements

Hi All I have a question. I would like to edit some string characters by replacing with characters of choice located in another file. For example in sample file>S5_SK1.chr01 NNNNNNNNNNNNNNNNNNNCAGCATGCAATAAGGTGACATAGATATACCCACACACCACACCCTAACACTAACCCTAATCTAACCCTGGCCAACCTGTTT... (9 Replies)
Discussion started by: pawannoel
9 Replies

5. IP Networking

testing network elements

for testing network elements which of the below is TRUE a)Thorough understanding of RFC s/ IETF standards is enough. b)One has to know design specifications along with standards and specification. c)Understanding customer requirements is required for acceptance test only and not for... (0 Replies)
Discussion started by: venkatadilip
0 Replies

6. Shell Programming and Scripting

How to delete first elements from files?

Hello, I want to select first element from 2 to 3 files how I would do that. e.g my input files are:- file1=(1,2,3,4) file2 =(1,2,3,4) file3=(1,2,3,4) output should be outputfile=(1,1,1,1) (12 Replies)
Discussion started by: shazo
12 Replies

7. Programming

Array Elements Check

Hi everyone, :) I'm trying to make a simple C program that scans an array of chars to see if its elements are similar. I can't understand what's wrong. Could you help me to fix this? Here is the code. Thanks! #include<stdio.h> int main() { int arr; int i, len; int flag =... (10 Replies)
Discussion started by: IgorGest
10 Replies

8. UNIX for Dummies Questions & Answers

How to declare an array in UNIX and print the elements with tab delimits?

Hello, In a shell script, I want to declare an array and subsequently print the elements with tab delimits. My array has the following structure and arbitrary elements: myArray=('fgh' 'ijk' 'xyz' 'abc'); Next, I would like to print it with a '\n' at the end. Thanks for your input! ... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies
IMAGECONVOLUTION(3)							 1						       IMAGECONVOLUTION(3)

imageconvolution - Apply a 3x3 convolution matrix, using coefficient and offset

SYNOPSIS
bool imageconvolution (resource $image, array $matrix, float $div, float $offset) DESCRIPTION
Applies a convolution matrix on the image, using the given coefficient and offset. PARAMETERS
o $ image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3). o $matrix - A 3x3 matrix: an array of three arrays of three floats. o $div - The divisor of the result of the convolution, used for normalization. o $offset - Color offset. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Embossing the PHP.net logo <?php $image = imagecreatefromgif('http://www.php.net/images/php.gif'); $emboss = array(array(2, 0, 0), array(0, -1, 0), array(0, 0, -1)); imageconvolution($image, $emboss, 1, 127); header('Content-Type: image/png'); imagepng($image, null, 9); ?> The above example will output:[NOT DISPLAYABLE MEDIA]Output of example : Embossing the PHP.net logo Example #2 Gaussian blur <?php $image = imagecreatetruecolor(180,40); // Writes the text and apply a gaussian blur on the image imagestring($image, 5, 10, 8, 'Gaussian Blur Text', 0x00ff00); $gaussian = array(array(1.0, 2.0, 1.0), array(2.0, 4.0, 2.0), array(1.0, 2.0, 1.0)); imageconvolution($image, $gaussian, 16, 0); // Rewrites the text for comparison imagestring($image, 5, 10, 18, 'Gaussian Blur Text', 0x00ff00); header('Content-Type: image/png'); imagepng($image, null, 9); ?> The above example will output:[NOT DISPLAYABLE MEDIA]Output of example : Gaussian blur NOTES
Note This function is only available if PHP is compiled with the bundled version of the GD library. SEE ALSO
imagefilter(3). PHP Documentation Group IMAGECONVOLUTION(3)
All times are GMT -4. The time now is 10:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy