+
Skip to content

SynthouS/cifir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

Now, cifir it's a lib. For a Cif Image Viewer visit this link

The Cifir Image Format Logo

Cifir

About & Usage

The CIF (Cifir Image Format) is a simple, text-based image format designed for ease of use and readability. It supports RGB colors and stores images in a human-readable format. Below is a detailed explanation of how the format works. A CIF file consists of the following components:

  1. Header: The first line specifies the resolution of the image in the format <widthxheight>. For example, <3x3> represents an image with a width of 3 pixels and a height of 3 pixels.

  2. Pixel Data: Each subsequent line represents a row of pixels in the image. Each pixel is defined by a hexadecimal RGB color code prefixed with a #. For example, #ff0000 represents red, #00ff00 represents green, and #0000ff represents blue.

  3. Comments: Comments can be added anywhere in the file using the format <-- comment -->. These are ignored during parsing.

About

Image format used text information

Topics

Resources

License

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载