Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gifhisto(1) [debian man page]

gifhisto(1)						      General Commands Manual						       gifhisto(1)

NAME
gifhisto - A program to create histogram of number of pixels using each color. The output can be formatted into a GIF histogram file, or as text file - both go to stdout. USAGE
gifhisto [-q] [-t] [-s Width Height] [-n ImageNumber] [-b] [-h] gif-file If no gif-file is given, GifHisto will try to read a GIF file from stdin. MEMORY REQUIRED
Line. OPTIONS
[-q] Quiet mode. Default off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. [-t] Force output to be text file of the following form: (colormap size) lines each containing two integers: number of times color appeared, and color index. Lines are in increasing color index order. This output can be fed directly to a sort program if ordering by color frequency is desired. The colrmap picked is the one to be used for the image to generate histogram for, as defined in GIF format. [-s Width Height] Size of GIF histogram file. The Height of the histogram should be power of 2 dividable by number of colors in colormap. Width sets the resolution (accuracy if you like) of the histogram as the maximum histogram bar is scaled to fit it. [-n ImageNumber] Image number to test. Default is one. [-b] Zeros the background color count. As only linear scale bars are supported and usually the background appears much more often then other colors, deleting the background count will improve the scaling of other colors. [-h] Print one line of command line help, similar to Usage above. AUTHOR
Gershon Elber Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools gifhisto(1)

Check Out this Related Man Page

gifcomb(1)						      General Commands Manual							gifcomb(1)

NAME
gifcomb - A program to combine 2 GIF images of exactly the same size into one. The color maps are merged, but the result may not exceed 256 colors. A boolean mask GIF file can be used to set which pixel from two images to use at each location. Otherwise any background color from first image is converted to second image color at that point. Only the first image of each file is combined; again, all files' first images must be of exactly the same size. USAGE
gifcomb [-q] [-m MaskGIFFile] [-h] gif-file... Two GIF files must be specified; a third mask GIF file is optional. MEMORY REQUIRED
Line. OPTIONS
[-q] Quiet mode. Default off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. [-m MaskGIFFile] the MaskGIFfile can be regular GIF file whose first image has same dimensions as the combined images. Any non-background color in it will select Image 1 Pixel to output, otherwise Image2 pixel will be selected. Usually this image will be boolean (two colors only) but it does not have to be. [-h] Print one line of command line help, similar to Usage above. AUTHOR
Gershon Elber Man page created by T.Gridel <tgridel@free.fr>, originally written by Eric S. Raymond <esr@thyrsus.com> giflib-tools gifcomb(1)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

renaming 50k files, whats the best way?

Because I am not creative, I did this: find . -type f -name '*.GIF'|cut -d'/' -f2|awk -F. '{print "mv "$1".GIF "$1".gif --reply=yes"}' > case.sh Then ran the case.sh - I was wondering if you guys could come up with something more efficient? Or even limit CPU useage? It is killing my poor ext3... (3 Replies)
Discussion started by: r0sc0
3 Replies

2. UNIX for Dummies Questions & Answers

Gnuplot - Histogram Fitting

Hi I am trying to fit my histogram data with a gaussian model and am encountering two problems: 1. I can't seem to fit the histogram data with a model fit y(x) 'bin.txt' using 2:xtic(1) via a,b,c (error: need 2 to 7 using specs) 2. Even when I manually guess the correct parameters for my fit and... (1 Reply)
Discussion started by: goffinj
1 Replies

3. UNIX and Linux Applications

gnuplot trouble

I am having a bit of trouble plotting a histogram in gnuplot. I am trying to use it to draw bars side by side. The first bar is from column five in my data file. The second bar is actually three bars stacked on top of each other and should be as tall as the first bar. The data is from the 2nd,... (0 Replies)
Discussion started by: kingnothing
0 Replies

4. Shell Programming and Scripting

Generating histogram

Hi, I have 2 files with similar structure - reference and test that I would like to BIN both and generate the comparison. input files structure is: a 3 b 10 c 3 d 7 e 1 f 4 g 9 h 6 I would like the output to be (lets say both reference and test are the file above - no diff) BIN ... (3 Replies)
Discussion started by: yan1
3 Replies

Featured Tech Videos