Nitrogen Fingers Paint

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo | name = NFP | formattype = electronic | extensions = {{ext|nfp}} | compression = None | reference impl = [https://github.com/Squid...")
 
Line 46: Line 46:
  
 
* [https://github.com/SquidDev-CC/CC-Tweaked/blob/66e42e0817484702d3be7ab880e60246097f7ecb/src/main/resources/data/computercraft/lua/rom/apis/paintutils.lua#L50 ComputerCraft:Tweaked's CraftOS paintutils Implementation (lua)]
 
* [https://github.com/SquidDev-CC/CC-Tweaked/blob/66e42e0817484702d3be7ab880e60246097f7ecb/src/main/resources/data/computercraft/lua/rom/apis/paintutils.lua#L50 ComputerCraft:Tweaked's CraftOS paintutils Implementation (lua)]
* [https://tweaked.cc/module/colors.html ComputerCraft:Tweaked Wiki's Colour table]
+
* [https://tweaked.cc/module/colors.html ComputerCraft:Tweaked Wiki's Colour table] (Paint/Blit column)

Revision as of 02:33, 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