Pegasus PIC2
Pegasus PIC2 (or whatever it's called) is a raster image format associated with some products from Pegasus Imaging Corporation. It is presumably the successor to Pegasus PIC, which we'll refer to here as "PIC".
Like PIC, it is possibly a version of the format/technology named ePIC.
Contents[hide] |
Disambiguation
Not related to Yanagisawa PIC2.
See also the PIC disambiguation page.
Format details
Like PIC, a portion of a PIC2 file resembles JPEG data. But PIC2 does not resemble BMP format.
While PIC uses the same fundamental compressed data format as standard JPEG, that's apparently not the case for PIC2.
Except for the first 4 and last 4 bytes, a PIC2 file seems to consist of a sequence of tagged segments. A segment consists of 1 byte for the segment type, then 4 bytes for the data size, then the data. Type 0 marks the end of the sequence.
Technical note: PIC2 apparently uses nonstandard JPEG segment type 0xb9 for its "SOF" segment.
Identification
PIC2 files start with ASCII signature "PIC2
". The next byte might always be 0x01
, the type of the first segment.
The string "JPGE
" appears somewhere near the beginning of the file, with byte 0x05
appearing 5 bytes before it. In known files, it's observed to be at offset 22, but more than likely it's allowed to be somewhere else.
Software
- Konica PC PictureShow v4 (pcps4.exe, archived) reportedly supports the format
- PICPress probably supports it [1]
- Possible decompression code: elsdec.c from FFmpeg
(More research needed, to figure out what can decode PIC2.)