Palm OS Database

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(vIMGView format)
m (Specific formats)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 +
|formattype=electronic
 +
|thiscat=Palm OS Database
 
| subcat = Personal Digital Assistant formats
 
| subcat = Personal Digital Assistant formats
| extensions = {{ext|pdb}}
+
| extensions = {{ext|pdb}}, others
 +
|mimetypes={{mimetype|application/vnd.palm}}
 
}}
 
}}
== Overview ==
+
A '''Palm OS Database''' is the normal format in which data is stored on a Palm OS-based device. These devices lack a normal filesystem, and instead store everything as part of a database. The '''.pdb''' extension is what ends up on files containing data exported from a Palm device to another system such as a PC.
A '''PalmOS Database''' is the normal format in which data is stored on a PalmOS-based device. These devices lack a normal filesystem and instead store everything as part of a database. The .pdb extension is what ends up on files containing data exported from a Palm device to another system such as a PC. The one other format used on a Palm device is [[PRC]], or Palm Resource Compiler.
+
  
The type of data stored in the file is indicated by a ''type/creator'' code: 8 ASCII characters starting at byte position 60.
+
The one other format used on a Palm device is [[PRC (Palm OS)|PRC]], or Palm Resource Compiler. PRC can be considered to be a separate format, or it can be considered to be a subtype of PDB.
  
== As an image format ==
+
== Format details ==
PDB files with type code '''vIMGView''' are supported as image files by some image processing programs.
+
There is a 72-byte header, followed by a record list which begins with a 6-byte header. If you prefer, you can think of these two headers as one 78-byte header.
  
It appears to be a paletted format supporting up to 16 colors. Images may be uncompressed, or use [[Run-length encoding|RLE]] compression.
+
After the record list is an optional "app info" segment, then an optional "sort info" segment, then the data segments for the records. The segment sizes are not stored explicitly; a segment is assumed to end where the next one begins, or at the end of the file.
  
== Software ==
+
== Identification ==
* [http://www.imagemagick.org/ ImageMagick] (image files only)
+
There's no simple way to identify a PDB file as such, though a known data type can be identified by the 8 bytes at offset 60.
 +
 
 +
For how to distinguish PDB from PRC, see [[PRC (Palm OS)#Identification]].
 +
 
 +
== Specific formats ==
 +
The type of data stored in the file is indicated by the ''type'' and ''creator'' codes, which are two [[FourCC]]s (a total of 8 ASCII characters) that appear starting at file offset 60.
 +
 
 +
There are separate articles for the following formats:
 +
* [[GrayPaint]]
 +
* [[MOBI]] ("{{magic|BOOKMOBI}}")
 +
* [[Palm Database ImageViewer]] ("{{magic|vIMGView}}")
 +
* [[PalmDOC]] ("{{magic|TEXtREAd}}")
 +
* [[PQA]] ("{{magic|pqa clpr}}")
 +
* [[ScreenShot Hack]]
 +
* [[TealPaint]] ("{{magic|DataTlPt}}")
 +
 
 +
Additional formats might be listed at [[:Category:Palm OS Database]]. For a longer list of formats, see the [https://wiki.mobileread.com/wiki/PDB MobileRead Wiki].
  
 
== Documentation ==
 
== Documentation ==
 
* [http://wiki.mobileread.com/wiki/PDB PDB (MobileRead Wiki)]
 
* [http://wiki.mobileread.com/wiki/PDB PDB (MobileRead Wiki)]
 +
* [http://lauriedavis9.tripod.com/copilot/download/Palm_File_Format_Specs.pdf Palm File Format Specs]
 +
* [[Wikipedia: PDB (Palm OS)]]
  
[[Category:Graphics]]
+
[[Category:Palm]]
 +
[[Category:Databases]]
 +
[[Category:Metaformats]]

Latest revision as of 15:34, 22 February 2018

File Format
Name Palm OS Database
Ontology
Extension(s) .pdb, others
MIME Type(s) application/vnd.palm

A Palm OS Database is the normal format in which data is stored on a Palm OS-based device. These devices lack a normal filesystem, and instead store everything as part of a database. The .pdb extension is what ends up on files containing data exported from a Palm device to another system such as a PC.

The one other format used on a Palm device is PRC, or Palm Resource Compiler. PRC can be considered to be a separate format, or it can be considered to be a subtype of PDB.

Contents

[edit] Format details

There is a 72-byte header, followed by a record list which begins with a 6-byte header. If you prefer, you can think of these two headers as one 78-byte header.

After the record list is an optional "app info" segment, then an optional "sort info" segment, then the data segments for the records. The segment sizes are not stored explicitly; a segment is assumed to end where the next one begins, or at the end of the file.

[edit] Identification

There's no simple way to identify a PDB file as such, though a known data type can be identified by the 8 bytes at offset 60.

For how to distinguish PDB from PRC, see PRC (Palm OS)#Identification.

[edit] Specific formats

The type of data stored in the file is indicated by the type and creator codes, which are two FourCCs (a total of 8 ASCII characters) that appear starting at file offset 60.

There are separate articles for the following formats:

Additional formats might be listed at Category:Palm OS Database. For a longer list of formats, see the MobileRead Wiki.

[edit] Documentation

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox