Sponsored Content
Full Discussion: picture
Contact Us Post Here to Contact Site Administrators and Moderators picture Post 27319 by peter.herlihy on Thursday 29th of August 2002 06:11:48 PM
Old 08-29-2002
Where did you load the image from...I'll try for you see if it works for me.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

open a picture file in unix (putty)

hi i'm logged on to my schools unix machine via putty. how do i open/view a jpg picture file that is there on my root catalog? (2 Replies)
Discussion started by: javatutor
2 Replies

2. Shell Programming and Scripting

PHP: display text and picture

Can someone give me a script in php to: Connect to Mysql: DB= content TABLE = message Enter text , about 3000 characters, and put a image either left or right, top or bottom or the text. Please someone make me this script, ive spent several hours trying to figure it out. (1 Reply)
Discussion started by: perleo
1 Replies

3. What is on Your Mind?

found a picture that discribe the rules!!

found a picture that discribe the rules!!! hehe (2 Replies)
Discussion started by: pressy
2 Replies

4. UNIX for Dummies Questions & Answers

Changing picture at banner?

On my Ultra 60, when booting and at the banner screen, on the top left is a picture of a globe. On another machine (Ultra 60) its a picture of a Sun. Is this something on the graphics card, or is this picture located somewhere else and able to be changed? (0 Replies)
Discussion started by: ridgeback00
0 Replies

5. UNIX for Dummies Questions & Answers

Need help! How to gnuplot a picture??

I would like to ask if I have already plot a graph using gnuplot, the setting(made by others) is in "gnuplot.defaults": gnuplot> load '<ParadisDir>/inputs/gnuplot.defaults' gnuplot> splot 'box.in' with lines, '0t0001' w lines How to transform it to bmp file? (or other types of pictures?) ... (2 Replies)
Discussion started by: kelvin490
2 Replies

6. Shell Programming and Scripting

Email with jpg picture embedded - inline

Hi - The below code works perfectly for e-mailing HTML embeded with JPG picture sendmail -t <<EOT TO: ABC.TO@abc.com FROM: ABC.FROM@abc.com SUBJECT: Embed image test MIME-Version: 1.0 Content-Type: multipart/related;boundary="XYZ" --XYZ Content-Type: text/html; charset=ISO-8859-15... (5 Replies)
Discussion started by: sivakumar121
5 Replies

7. Programming

Download http picture using C++

Dear all, I am working on writing the script which can read a file (having the html path for some pictures) and download those picture in the given local directory. Please find my iniatitve here, however I am still not able to figure out the 'download' command. Any help is appreciated. ... (1 Reply)
Discussion started by: emily
1 Replies
IMAGECOLORSTOTAL(3)							 1						       IMAGECOLORSTOTAL(3)

imagecolorstotal - Find out the number of colors in an image's palette

SYNOPSIS
int imagecolorstotal (resource $image) DESCRIPTION
Returns the number of colors in an image palette. PARAMETERS
o $image - An image resource, returned by one of the image creation functions, such as imagecreatefromgif(3). RETURN VALUES
Returns the number of colors in the specified image's palette or 0 for truecolor images. EXAMPLES
Example #1 Getting total number of colors in an image using imagecolorstotal(3) <?php // Create image instance $im = imagecreatefromgif('php.gif'); echo 'Total colors in image: ' . imagecolorstotal($im); // Free image imagedestroy($im); ?> The above example will output something similar to: Total colors in image: 128 SEE ALSO
imagecolorat(3), imagecolorsforindex(3), imageistruecolor(3). PHP Documentation Group IMAGECOLORSTOTAL(3)
All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy