4 ms·
PNG is a very nice, extensible container format. In principle you can use it to store arbitrary image data, and still make use of all established metadata field
by halomru 10y ago
PNG is a very nice, extensible container format. In principle you can use it to store arbitrary image data, and still make use of all established metadata fields.
In practice you probably shouldn't do that without changing the file extension and the magic bytes to avoid confusion among users and poorly written software.
- animal531 10y agoIf I remember correctly PNG can use different compression algorithms per scanline, although I doubt it's ever used as such.
- rleigh 10y agoWhile PNG (and libpng) are reasonable for their intended purpose as a GIF replacement for simple RGB and greyscale graphics, it doesn't compare when it comes to the power and flexibility of TIFF, from sample format and depth, to sample count, image orientation, tiling and many additional features. TIFF is showing its age at this point, with a some high-end scientific applications switching to HDF5. But PNG simply isn't featureful enough for this type of data.