Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reminds me of my idea for an XML image format:

  <image>
   <pixel x="0" y="0" red="255" green="255" blue="0" alpha="0"/>
   <!-- etc -->
   <pixel x="1023" y="767" red="0" green="0" blue="0" alpha="0"/>
  </image>
I think it would gzip pretty well.


Not bad, but I think you forgot to include document unique identifiers on each important tag. Also, where are the namespaces? You need to be able to embed this image in a document without having tag name collisions.


Good point on the namespaces. But I'm an idea guy -- the standards committee can work out the details.


The big difference is that your image format is data, which is what XML was meant for.


XML was meant for structured data. A picture is not structured.


At least not a pixel picture.


That's the BMP spec you're describing right there, except with ASCII bloat. So, no thanks.


It is called XBMP and it is the latest in image formats for the web /s




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: