Puzzle image (X11)

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Software)
m (Change telparia.com samples link to template)
 
(3 intermediate revisions by 3 users not shown)
Line 17: Line 17:
  
 
== Software ==
 
== Software ==
 +
* [[Konvertor]]
 
* [[Netpbm]]: ppmtopuzz (write only)
 
* [[Netpbm]]: ppmtopuzz (write only)
 
* [[XnView]] (apparently requires the file extension to be ".pzl")
 
* [[XnView]] (apparently requires the file extension to be ".pzl")
 
* [ftp://ftp.x.org/pub/unsupported/programs/puzzle/ puzzle source code and man page]
 
* [ftp://ftp.x.org/pub/unsupported/programs/puzzle/ puzzle source code and man page]
 
* [http://imageconverter.rest7.com/ Rest7 Online image converter]
 
* [http://imageconverter.rest7.com/ Rest7 Online image converter]
 +
* {{Deark}}
  
 
== Sample files ==
 
== Sample files ==
 
* [ftp://ftp.x.org/pub/unsupported/programs/puzzle/mandrill.cm mandrill.cm]
 
* [ftp://ftp.x.org/pub/unsupported/programs/puzzle/mandrill.cm mandrill.cm]
 +
* {{DexvertSamples|image/x11Puzzle}}
  
 
== Further reading ==
 
== Further reading ==

Latest revision as of 02:56, 28 December 2023

File Format
Name Puzzle image (X11)
Ontology
Extension(s) .cm, .pzl
Released ~1988

Some distributions of X-Windows include a program named "puzzle", which is an implementation of the "15 puzzle" sliding tile game. It was written by Don Bennett of HP Labs.

Using the "-picture" option, a custom bitmap image may be used on the tiles. This article is about the format of the file containing that custom image. It has been given various names such as X11 puzzle file or Unix Puzzle 8-bit Bitmap.

Contents

[edit] Format

A puzzle image uses a simple uncompressed 8-bit paletted format. There is a 9-byte header, then the palette, then the pixels.

[edit] Specifications

The format is described in a comment in the picture.c file from the source code.

[edit] Software

[edit] Sample files

[edit] Further reading

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox