Unix text doc with a .gif image

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Unix text doc with a .gif image
# 8  
Old 10-11-2005
We can edit the file using most editors including vi.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Center image between two text paragraphs.

I want to show a page with an image between 2 any paragraphs. I tried the following script. But the image is not centered. SUSE Paste <!DOCTYPE html> <html> <head> <style> center.center_1 { margin: auto; width: 60%; ... (3 Replies)
Discussion started by: jcdole
3 Replies

2. Shell Programming and Scripting

Script to convert text to image

Hi Can someone help me writing a script to convert the texts in a text file into images for each token? Thanks in advance. :) (1 Reply)
Discussion started by: my_Perl
1 Replies

3. Shell Programming and Scripting

How to annotate text on image files?

Dear Sir, The problem description as follows I have a folder named abc with files of different extensions such as: bcsu.txt hsdk.prot ajia.sh sai.hm abcd_1213_saj.png I am supposed to write a bash script which reads all the .png files and read the 6th7th8th9th(word/numerals) here it is... (5 Replies)
Discussion started by: bal_nair
5 Replies

4. UNIX for Dummies Questions & Answers

Advice needed regarding Unix doc/book

I am a newbie Oracle DBA. All our oracle servers are hosted in AIX and Solaris Environment. I have no knowledge about this Unix O/S. So, it will be great if anyone here can suggest me any good book which will teach me the basics. Any inputs/suggestions will be great for me. (1 Reply)
Discussion started by: sandip250382
1 Replies

5. Shell Programming and Scripting

Creating word document (.doc) with attachment in unix solaris

Hi All, Is it possible to creation a word document (.doc) in unix solaris which includes an attachment (i.e similar to insert -> object add attachment in windows) Requirement is to add files into .doc and the files is present in unix servers. Is it possible to do this within unix instead... (5 Replies)
Discussion started by: ajay547
5 Replies

6. Shell Programming and Scripting

Add text to image files

Hi to all, Some help here please. I have a several image files (photos, jpg files), let say 100 photos, and a list of 100 different little comments in a text file, each comment for each image. Somebody knows if I can add (like a watermark in the bottom) this text comments and how in the... (3 Replies)
Discussion started by: cgkmal
3 Replies

7. Shell Programming and Scripting

Redirect text to image file

How can I redirect text data to an image (png, jpg, gif... etc) file using perl on unix solaris environment?? Please suggest. Pooja (1 Reply)
Discussion started by: wadhwa.pooja
1 Replies

8. Shell Programming and Scripting

replacing text in an ascii doc

What would be the best way to replace all instances of... 09/26/2005 with 20050926 There are no spaces between the the date and the preceeding and following data. example lines looks like... snp01|NAME/OF/A/GROUP|09/26/2005081343|502 the 081343 is the time without colons. Thank... (6 Replies)
Discussion started by: cubs0729
6 Replies

9. Shell Programming and Scripting

Stamping Text on an Image File

Hi all, again, I have lots of questions I guess. This one should be easier though :) . I have a goal to be able to put some preformatted text into a template (which is now a tiff file, but can be changed) and then output it to a printer. Right now we're thinking PostScript might work or some... (0 Replies)
Discussion started by: pageld
0 Replies

10. UNIX for Advanced & Expert Users

converting PDF to text, rtf doc format

Hi all Is there any program which can convert PDF to word processor file ? If the PDF has smart quotes, bullet icons, copyright and trademark symbols, etc. what happens to them intext format? So ideally would like to conver into rtf or doc. Thanks SS (1 Reply)
Discussion started by: saurya_s
1 Replies
Login or Register to Ask a Question
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)