Nitrogen Fingers Paint

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
Line 4: Line 4:
 
| extensions      = {{ext|nfp}}
 
| extensions      = {{ext|nfp}}
 
| compression      = None
 
| compression      = None
| reference impl  = [https://github.com/SquidDev-CC/CC-Tweaked/blob/66e42e0817484702d3be7ab880e60246097f7ecb/src/main/resources/data/computercraft/lua/rom/apis/paintutils.lua#L50 CC:T's paintutils (lua)]
+
| reference impl  = [https://github.com/SquidDev-CC/CC-Tweaked/blob/66e42e0817484702d3be7ab880e60246097f7ecb/src/main/resources/data/computercraft/lua/rom/apis/paintutils.lua#L50 <abbr title="ComputerCraft:Tweaked CraftOS">CC:T</abbr>'s paintutils (lua)]
 
| error resilience = None
 
| error resilience = None
 
}}
 
}}

Revision as of 02:37, 13 March 2021

File Format
Name NFP
Ontology
Extension(s) .nfp
Compression None
Reference Implementation CC:T's paintutils (lua)
Error Resilience None
NFP[Stands for?] is a simple text file format used by ComputerCraft to store images.

CraftOS's paint program allows for easy editing of these files with a GUI.


Format

The format consists of a text file containing a hex character for each pixel.

TO-DO


Example

house.nfp
NFP PNG PNG (nonsquare)
        c
   eeeeec
  eeeeeee
 eeeeeeeee
  ccccccc
  c33cc5c
  ccccc5c
fffffffffff

NFP house.png NFP house nonsquare.png


External links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox