Pegasus PIC
(Created page with "{{FormatInfo |formattype=electronic |subcat=Graphics |extensions={{ext|pic}}, {{ext|kqp}} |released=≤1995 }} '''Pegasus PIC''' is a raster graphics format associated with so...") |
(→Software) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
|released=≤1995 | |released=≤1995 | ||
}} | }} | ||
− | '''Pegasus PIC''' is a raster graphics format associated with some products from Pegasus Imaging Corporation. It may also be known as '''Pegasus JPEG''', or '''PIC JPEG'''. It was also rebranded in some form as [[KQP|Konica Quality Photo]] (KQP). | + | '''Pegasus PIC''' is a raster graphics format associated with some products from Pegasus Imaging Corporation. It may also be known as '''Pegasus JPEG''', or '''PIC JPEG'''. It was also rebranded in some form as [[KQP|Konica Quality Photo]] (KQP). Format us proprietary from Pegasus, branded under the ePic name.<ref>https://web.archive.org/web/19990224220644/http://www.jpg.com/imagetech_epic.htm</ref> Now owned by Accusoft and not distributed.<ref>https://www.accusoft.com/products/sdks/pictools-photo/</ref> |
PIC format is an incompatible extension of [[BMP]]. | PIC format is an incompatible extension of [[BMP]]. | ||
== Discussion == | == Discussion == | ||
− | Though the PICView software | + | Though the PICView software gives the impression that they are different formats, it's not clear that there is any distinction between PIC and [[KQP]]. If there is a difference, it could be that KQP is a restricted profile of PIC, and/or that KQP files are the ones that lack a JPEG "DHT" segment. |
== Format details == | == Format details == | ||
− | A PIC file contains embedded [[JPEG]] data, but it lacks the critical DQT segment(s), and may lack DHT segment(s), so it can't just be extracted as a standard JPEG file. | + | A PIC file contains embedded [[JPEG]] data, but it lacks the critical DQT segment(s), and may lack DHT segment(s), so it can't just be extracted as a standard JPEG file. PIC format compression replaces the JPEG Huffman encoder with the proprietary ELS entropy encoder<ref>https://web.archive.org/web/20120523022533/http://accusoft.com/technology/elscoder.pdf</ref> for 15% more compression. |
+ | |||
+ | === Notes on decoding === | ||
+ | ''The following information is not based on official sources. It may be wrong or incomplete.'' | ||
+ | |||
+ | If the PIC file does not contain a DHT (Huffman table definition) segment, use the example tables given in the JPEG specification (T.81 section K.3.3; see [[JPEG#Specifications]]). These may also be found in the IJG libjpeg source code, in the file jcparam.c (see [[JPEG#Software]]). | ||
+ | |||
+ | To construct suitable quantization tables (DQT segment), start with example luminance and chrominance tables given in the JPEG specification (T.81 section K.1). These may also be found in the IJG libjpeg source code, in the files jcparam.c and wizard.txt. They will likely be used if you create a new JPEG file with "<code>cjpeg -quality 50</code>". | ||
+ | |||
+ | Scale each value in each table by a certain factor. A PIC file should contain an APP1 segment whose data begins with the signature "<code>PIC\0</code>". The second byte after the signature is a code for the luminance, and the third is a code for the chrominance. | ||
+ | |||
+ | The scale factor for the luminance table is (approximately?) the luminance code divided by 32. Likewise for the chrominance table. | ||
== Identification == | == Identification == | ||
− | Known PIC/KQP files | + | Known PIC/KQP files start with ASCII "{{magic|BM}}". They have {{magic|44 00 00 00}} at offset 14, indicating a BMP "INFOHEADER" size of 68. They have {{magic|4a 50 45 47}} ("{{magic|JPEG}}") at offset 30. |
− | + | ||
− | + | A later version "PIC2" is used for the PIC/KQP formats and have the ASCII "{{magic|PIC2}}" at the beginning of the file. With "<code>JPGE</code>" at offset 22. | |
− | + | ||
== Software == | == Software == | ||
* [[XnView]] (as "Konica Camera File") | * [[XnView]] (as "Konica Camera File") | ||
+ | * [https://web.archive.org/web/19961108232018/http://jpg.com:80/zips/pv2.zip PICView 2] | ||
* PICView v3.21 (Windows 3.x software): [https://archive.org/details/especial-internet-lo-mejor-del-shareware Especial Internet: Lo Mejor Del Shareware] → WIN/GRAPHICS/PICVIEW.ZIP | * PICView v3.21 (Windows 3.x software): [https://archive.org/details/especial-internet-lo-mejor-del-shareware Especial Internet: Lo Mejor Del Shareware] → WIN/GRAPHICS/PICVIEW.ZIP | ||
+ | * {{Deark}} | ||
== Sample files == | == Sample files == | ||
* {{CdTextfiles|cream/cream11/cream11-01/image/picsaver.zip|picsaver.zip}} → *.PIC | * {{CdTextfiles|cream/cream11/cream11-01/image/picsaver.zip|picsaver.zip}} → *.PIC | ||
− | * [https://archive.org/details/especial-internet-lo-mejor-del-shareware Especial Internet: Lo Mejor Del Shareware] → WIN/GRAPHICS/PICVIEW.ZIP | + | * [https://archive.org/details/especial-internet-lo-mejor-del-shareware Especial Internet: Lo Mejor Del Shareware] → WIN/GRAPHICS/PICVIEW.ZIP → PICS/*.PIC (must be installed, or extracted from PICVIEW.Z) |
− | * [https://archive.org/details/net-power-3-97 Net Power 3 97] → NetPower_3-97.mdf → nettools/graphics/jpg/picsaver/*.pic | + | * [https://archive.org/details/net-power-3-97 Net Power 3 97] → NetPower_3-97.mdf → nettools/graphics/jpg/picsaver/*.pic |
See also [[KQP#Sample files]]. | See also [[KQP#Sample files]]. | ||
+ | |||
+ | ==References== | ||
+ | <references/> | ||
+ | |||
+ | [[Category:JPEG]] |
Latest revision as of 01:33, 3 July 2024
Pegasus PIC is a raster graphics format associated with some products from Pegasus Imaging Corporation. It may also be known as Pegasus JPEG, or PIC JPEG. It was also rebranded in some form as Konica Quality Photo (KQP). Format us proprietary from Pegasus, branded under the ePic name.[1] Now owned by Accusoft and not distributed.[2]
PIC format is an incompatible extension of BMP.
Contents |
[edit] Discussion
Though the PICView software gives the impression that they are different formats, it's not clear that there is any distinction between PIC and KQP. If there is a difference, it could be that KQP is a restricted profile of PIC, and/or that KQP files are the ones that lack a JPEG "DHT" segment.
[edit] Format details
A PIC file contains embedded JPEG data, but it lacks the critical DQT segment(s), and may lack DHT segment(s), so it can't just be extracted as a standard JPEG file. PIC format compression replaces the JPEG Huffman encoder with the proprietary ELS entropy encoder[3] for 15% more compression.
[edit] Notes on decoding
The following information is not based on official sources. It may be wrong or incomplete.
If the PIC file does not contain a DHT (Huffman table definition) segment, use the example tables given in the JPEG specification (T.81 section K.3.3; see JPEG#Specifications). These may also be found in the IJG libjpeg source code, in the file jcparam.c (see JPEG#Software).
To construct suitable quantization tables (DQT segment), start with example luminance and chrominance tables given in the JPEG specification (T.81 section K.1). These may also be found in the IJG libjpeg source code, in the files jcparam.c and wizard.txt. They will likely be used if you create a new JPEG file with "cjpeg -quality 50
".
Scale each value in each table by a certain factor. A PIC file should contain an APP1 segment whose data begins with the signature "PIC\0
". The second byte after the signature is a code for the luminance, and the third is a code for the chrominance.
The scale factor for the luminance table is (approximately?) the luminance code divided by 32. Likewise for the chrominance table.
[edit] Identification
Known PIC/KQP files start with ASCII "BM
". They have 44 00 00 00
at offset 14, indicating a BMP "INFOHEADER" size of 68. They have 4a 50 45 47
("JPEG
") at offset 30.
A later version "PIC2" is used for the PIC/KQP formats and have the ASCII "PIC2
" at the beginning of the file. With "JPGE
" at offset 22.
[edit] Software
- XnView (as "Konica Camera File")
- PICView 2
- PICView v3.21 (Windows 3.x software): Especial Internet: Lo Mejor Del Shareware → WIN/GRAPHICS/PICVIEW.ZIP
- Deark
[edit] Sample files
- picsaver.zip → *.PIC
- Especial Internet: Lo Mejor Del Shareware → WIN/GRAPHICS/PICVIEW.ZIP → PICS/*.PIC (must be installed, or extracted from PICVIEW.Z)
- Net Power 3 97 → NetPower_3-97.mdf → nettools/graphics/jpg/picsaver/*.pic
See also KQP#Sample files.