xcfinfo - display information about GIMP xcf files
xcfinfo [ options ] filename
xcfinfo is a command-line tool that displays information about the contents of image files in the XCF format used by gimp(1), particularly about the layers in the image.
-h, --help
Print an option summery to standard output and exit with a
return code of 0.
-j, --bzip
Equivalent to -Z bzcat. Default if the filename ends with bz2.
-u, --utf8
Use the raw UTF-8 representation from the XCF file to compare
and display layer names. Ordinarily, layer names will be
converted to the character set of the current locale.
-v, --verbose
Print progress messages about the conversion to standard error.
-V, --version
Print the version numer of xcftools to standard output and exit
with a return code of 0.
-z, --gzip
Equivalent to -Z zcat. Default if the filename ends with gz.
-Z command, --unpack command
Specify a command that the input file is filtered through
before being interpreted as an XCF file. The command is invoked
as command filename and must produce output to its standard
output. Note that it is not possible to specify arguments as
part of command. An uncompressor is selected automatically if
the filename ends with gz or bz2; to suppress this, use -Z cat
(which is implemented without actually starting a cat(1)
process).
Information about the image is displayed on standard output in a fixed
format. The first line contains general information about the XCF
file:
- The file format version
- The canvas size
- The image mode (color, grayscale, or indexed)
- The numer of layers
- The internal compression algorithm
Following this line there is a line for each layer:
1) The character + if the layer is visible and - if it is not
2) The size and offset of the layer
3) The pixel format of the layer, including whether the layer has an
alpha channel.
4) The layer mode, as well as the opacity if not 100%, and /mask if the
layer has an active layer mask.
5) The name of the layer.
The exit status of xcfinfo is
0 Success
20 Problems parsing the command line.
21 The specified XCF file does not exist or cannot be read.
123 The XCF file contains presumably valid features that xcftools does
not support. (As of this writing there is no known way of getting
the Gimp to write an XCF file that will provoke this return.
Please notify the author if you discover one).
125 The XCF file is malformed.
126 An uncompression program could not be executed, or terminated
abnormally.
127 Unexpected I/O error, internal errors, or other "this can't
happen" situations.
If an uncompression program returns an error exit status, this will be
returned from xcfinfo too.
xcfinfo was written by Henning Makholm <[email protected]>.
xcf2pnm(1), xcf2png(1)
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.