Image formats - hippogamesunity/PixelStudioHub GitHub Wiki

+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
|               | PSP | PSX | PNG | GIF | MP4 | BMP | JPG | TGA | PSD | EXR | ASEPRITE | AI, EPS, EXR, HEIC, PDF, SVG, WEBP |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| TRUE COLOR    |  X  |  X  |  X  |     |  X  |  X  |  X  |  X  |  X  |  X  |    X     |                 ?                  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| LOSSLESS      |  X  |  X  |  X  |  X  |     |  X  |     |  X  |  X  |  X  |    X     |                 ?                  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| COMPRESSED    |     |  X  |  X  |  X  |  X  |     |  X  |  X  |  X  |  X  |    X     |                 ?                  |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| ANIMATION     |  X  |  X  |     |  X  |  X  |     |     |     |     |     |    X     |                                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| LAYERS        |  X  |  X  |     |     |     |     |     |     |  X  |     |    X     |                                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| AUDIO         |  X  |  X  |     |     |  X  |     |     |     |     |     |          |                                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| HISTORY       |  X  |  X  |     |     |     |     |     |     |     |     |          |                                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| READ/WRITE    | R/W | R/W | R/W | R/W |     | R/w | R/W | R/W |     |  W  |    R     |                                    |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+
| CLOUD R/W     |     |     |     | R/W |  W  |     |     |     | R/W |  R  |          |              READ ONLY             |
+---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+----------+------------------------------------+

Pixel Studio supports the following image formats:

  • PSP (Pixel Studio Project, a basic app format)
  • PSX (compressed PSP, smaller size, slower saving)
  • PNG (the most popular LOSSLESS image format, supports alpha-channel/semitransparency)
  • JPG (the most popular LOSSY image format)
  • BMP (Bitmap Picture, LOSSLESS, uncompressed, large size)
  • GIF (animated image format, supports max 256 different indexed colors, doesn't support audio)
  • MP4 (video format with H.264 encoding, supports audio)
  • TGA (LOSSLESS compression, works acceptably well for simpler images, such as icons, cartoons and line drawings)
  • PSD (user by Adobe Photoshop, LOSSLESS compression, layers supported, no animation, no layer effects)
  • EXR (a high-dynamic range, multi-channel raster file format created by ILM)
  • ASE (used by Aseprite, only for reading)

More info about each format:

  • PSP (Pixel Studio Project) is a proprietary format used by Pixel Studio. It's a JSON string containing information about project, clips, frames, layers and each layer's action history. I have plans to make a public specification in the future.
  • PSX (Pixel Studio Compressed) is PSP compressed with ZIP.
  • PNG (Portable Network Graphics) is a raster-graphics file format that supports LOSSLESS data compression.
  • JPG/JPEG (Joint Photographic Experts Group) is a commonly used method of LOSSY compression for digital images.
  • BMP (bitmap image file) is a raster graphics image file format used to store bitmap digital images. BMP images are uncompressed in most cases (and thus LOSSLESS, but have a large size compared to other formats).
  • GIF (Graphics Interchange Format). The format supports up to 8 bits per pixel for each image, allowing a single image to reference its own palette of up to 256 different colors chosen from the 24-bit RGB color space. It also supports animations and allows a separate palette of up to 256 colors for each frame. These palette limitations make GIF less suitable for reproducing color photographs and other images with color gradients, but well-suited for simpler images such as graphics or logos with solid areas of color. GIF images are compressed using the Lempel–Ziv–Welch (LZW) lossless data compression technique to reduce the file size without degrading the visual quality. This compression technique was patented in 1985. Controversy over the licensing agreement between the software patent holder, Unisys, and CompuServe in 1994 spurred the development of the Portable Network Graphics (PNG) standard. By 2004 all the relevant patents had expired.
  • MP4 (MPEG-4) is a digital multimedia container format most commonly used to store video and audio, but it can also be used to store other data such as subtitles and still images. Pixel Studio uses H.264 encoding.
  • TGA (Truevision TGA or TARGA). The format can store image data with 8, 15, 16, 24, or 32 bits of precision per pixel – the maximum 24 bits of RGB and an extra 8-bit alpha channel. Color data can be color-mapped, or in direct color or truecolor format. Image data may be stored raw, or optionally, a lossless RLE compression similar to PackBits can be employed. This type of compression performs poorly for typical photographic images, but works acceptably well for simpler images, such as icons, cartoons and line drawings.
  • EXR (OpenEXR) is a high-dynamic range, multi-channel raster file format, released as an open standard along with a set of software tools created by Industrial Light & Magic (ILM), under a free software license similar to the BSD license.

Aseprite font made by David Capello is used under Creative Commons Attribution 4.0 International License