Skip to content

POLA-LCS/LAF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAF (List of Ascii Frames) v2.0.0

A simple .laf player files for Windows.

 __    _____ _____
|  |  |  _  |   __|
|  |__|     |   __|
|_____|__|__|__|

File format

A LAF file is just a special format for storing ascii frames. Images, videos, gifs or even bitmaps has it's own header to distinguish between them. This in order to detect which file are you dealing with.

Header

Numbers are represented in hexadecimal.

LAFWWWHHHFF| where:

  • LAF the header tag saying "Heey, I'm a LAF file!"
  • WWW is the width of each frame.
  • HHH is the height of each frame.
  • FF is the framerate (the default is 4 if 0 is provided).
  • | is the end of the header.

Flags

Flags are options that can be used to customize the behaviour of the LAF file.
This flags goes before end of header and after framerate value.

This flags are the default ones and can be changed by providing command line arguments (See laf.exe --help).

  • F: Sets the window console to fullscreen (maybe fails if using a special terminal).
  • R: Repeats backwards after last frame.
  • S: Stops when reached the end.

About

File format for console animated ASCII gifs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published