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

raw2gif(1)						      General Commands Manual							raw2gif(1)

NAME
raw2gif - A program to convert RAW image data into GIF files. Only one image can be handled. The RAW image file is assumed to hold one pixel color in one byte, and therefore the file size must be Width times Height as specified by the -s option below. USAGE
raw2gif [-q] -s Width Height [-p ColorMapFile] [-h] RawFile If no RawFile is given, Raw2Gif will try to read RAW data from stdin. The generated GIF File is dumped to stdout. MEMORY REQUIRED
Line. OPTIONS
[-q] Quiet mode. Defaults off on MSDOS, on under UNIX. Controls printout of running scan lines. Use -q- to invert. -s Width Height the dimensions of the image MUST be specified in the command line. The RAW image file size must be exactly Width times Height bytes (each byte is one pixel color). [-p ColorMapFile] Color map to load for given RAW image. This file has 4 integers in line (ColorIndex Red Green Blue), and the ColorIndex is in order starting from 1. See GifClrMp, which can also use/create these bitmap files. If no color map is specified, uses the EGA 16 color pallete as default color map. [-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 raw2gif(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