News for hackers. Stuff that matters.
Re:We Need A Standard Layered Image Format by aceofspades19 on Tuesday April 30, 2013 @06:02PM (#5635155)
Whats wrong with SVG? Doesn't it accomplish what the OP wants to do already and is already a standard supported by a lot of applications? I must be missing something here
Re:We Need A Standard Layered Image Format by arielpts on Tuesday April 30, 2013 @09:17PM (#5635915)
XML is a really bad format for containing large chunks of binary data (bitmap)
Re:We Need A Standard Layered Image Format by WiseWeasel on Wednesday May 01, 2013 @04:28AM (#5637010)
The XML can store references to the binary chunks in standard formats though, alongside the vector shapes and filters.

  <svg viewBox="## ## ## ##">
    <image xlink:href="layer1.png" x="##" y="##" width="##" height="##"/>
    <image xlink:href="layer2.jpg" x="##" y="##" width="##" height="##"/>
    <rect x="##" y="##" width="##" height="##" fill="red"/>
  </svg>
All that's left is to standardize a way to package it.
Re:We Need A Standard Layered Image Format by arielpts on Friday May 03, 2013 @12:57PM (#5651109)
Thats actually a good, along with the fake .zip extension.
Re:We Need A Standard Layered Image Format by aceofspades19 on Tuesday April 30, 2013 @10:10PM (#5636067)
And why are we storing binary data? The whole point of SVG is everything is in XML unless I'm very mistaken
Re:We Need A Standard Layered Image Format by shuzchen on Wednesday May 01, 2013 @01:12AM (#5636568)
The author is looking for a container format capable of storing multiple image layers, and one that is capable of storing both vector and raster images.

So you could possibly argue that XML (a la SVG) is the right format to represent the vector files within that container, but it wouldn't be appropriate for the container file itself since binary data really bloats XML.

Re:We Need A Standard Layered Image Format by supercoder on Tuesday April 30, 2013 @10:56PM (#5636200)
How else would you propose to store a bitmap.
Re:We Need A Standard Layered Image Format by modarts on Wednesday May 01, 2013 @01:11AM (#5636565)
<points> <point x='2px' y='3px' color='rgba(255,255,255,0)' /> <point x='2px' y='4px' color='rgba(100,255,255,0)' />

    <!--...-->
</points>

heh