Hacker News new | ask | show | jobs
by TD-Linux 4317 days ago
So, this is a replacement for PNG. I assume it's intended to be lossless. The additional features seem to be:

1. Embedded image maps. Presumably functionally equivalent to HTML image maps? There don't seem to be accessibility features.

2. Multiple images which are overlaid on each other to produce the final image. These overlays can be true color, bitmapped, or palette based, kind of like DjVu.

The image layers kind of remind me of MPEG-4's Video Object Planes. That's a bad thing. No one ever figured out a reasonably fast method to segment video into overlaid objects without manual intervention. It's cool that your image format has this feature, but if the encoder can't make use of it, what's the point?

3. Multi-resolution encoding PNG and JPEG already have interlaced encoding. I can't tell how yours is different, aside from being less efficient.

4. Images with holes .... how is this an improvement over alpha layers?

5. Manual compression with a C# gui If you're going to do this, why not redraw your image as SVG instead?

In summary, it's an interesting set of features, but I really can't tell the use case you are targeting. In addition, it seems that many of your features already exist in other formats. Maybe you should retarget this as being a simple scene graph builder for Javascript instead of an image format?

1 comments

Xerox multifunction printers have a feature to scan to PDF, but does so in such a way that the page image is segmented into lossy colour (DCT/JPEG) and coloured monochrome (JBIG2) depending on whether the area is detected as being photo-like or text/diagram-like respectively. These partial images are then overlaid to make the final composite page - the end result has both higher perceptual quality and considerably smaller file size then if it were encoded entirely via DCT or entirely in a lossless format such as deflate.

This is somewhat different to segmentation in video, but it does show that there are useful, fast encoding implementations of segmented image overlays.