13 ms·
We Need A Standard Layered Image Format
- hardwaresofton 14y agonot a huge conspiracy theorist, but isn't this the kind of thing that would make us not rely on purchasing Adobe CS7 exclusively (for fear of incompatability) in the future? Standards wise, open-source wise, and generally it's a good move (who wouldn't want to get a standard complex image format that would make sense to the common programmer?), but I don't think the finance department over at Adobe is going to like it very much?
- rlpb 14y agoWon't this format leave behind traces of what was in the file before? I'm not sure that this is something that we want in a standard interchange format. Users will assume what they are sending is only what they see in an application. This is reasonable. I am concerned that using this format will lead to data leaks.
- angersock 14y agoThat ship has pretty much sailed with EXIF and embedded metadata anyways, right? This would seem to be more targeted at digital content creation (and toolchain application interop) than a normal-use file format.
- rlpb 14y agoIt's up to your editor what metadata it chooses to save. It is not up to your editor what data was in the sqlite row that it just modified or deleted but may still be forensically available. There is a fundamental difference here. It is possible to clean it up of course - perhaps by vacuuming, or definitely by copying to a new file at database level. But it seems dangerous to me to start with a native format with this behavior and attempt to clean it up later.
- eurleif 14y ago>But it seems dangerous to me to start with a native format with this behavior and attempt to clean it up later. File formats don't have behaviors. Programs do. Lots of binary formats, including PNG, will ignore any extra junk after the end of the file. So if a change makes a PNG file smaller, there's nothing stopping a program from leaving data from the old version at the end. But that's not normal behavior for programs that write PNG, so it's not an issue. As long as programs adopted the behavior of VACUUMing the database, this wouldn't be an issue either.
- eurleif 14y agoIt could be defined in the format spec that applications should VACUUM the database after every save.
- seanalltogether 14y agoHow is that different from a psd or editable fireworks png file? I can have several groups with various visibility toggles that any normal user wouldn't see unless they dig into the layers.
- SQLite 14y agoNot if you set "PRAGMA secure_delete=ON;" See http://www.sqlite.org/pragma.html#pragma_secure_delete http://www.sqlite.org/pragma.html#pragma_secure_delete for additional information.
- aceofspades19 14y agoWhats 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
- arielpts 14y agoXML is a really bad format for containing large chunks of binary data (bitmap)
- aceofspades19 14y agoAnd why are we storing binary data? The whole point of SVG is everything is in XML unless I'm very mistaken
- supercoder 14y agoHow else would you propose to store a bitmap.
- modarts 14y ago<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
- shuzchen 14y agoThe 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.
- WiseWeasel 14y agoThe 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.
- aidos 14y agoThis whole idea seems totally mad from a distance but as a developer I'd love to be able to open complex files as DBs. What would be the downfalls of passing around a DB as an image file? Does the compression suck? Does the performance suck? What makes this a terrible idea? EDIT: to clarify, by compression I'm referring to the non-lossy type - I'm assuming that within the db you'd have already processed assets.
- thristian 14y agoOne downside would be that tools like file(1) that try to guess a file's format by examining its contents would return "SQLite database" for every image file, which isn't the most helpful result. Since SQLite aims to be a generic way for applications to store data, it'd be nice if its "open database" and "create database" functions allowed you to supply, say, a 4- or 8-byte magic value that would be stored at a fixed location in the file's header so tools could distinguish your SQLite-based file-format from everybody else's, without having to load the thing up and examine the schema.
- eli 14y agoI'm not convinced this is actually a good idea overall, but... There's no reason `file` couldn't be made to recognize special cases of SQLite databases. It certainly handles far uglier cases already. And SQLite already provides a place to store meta-data about a table: http://www.sqlite.org/pragma.html#pragma_user_version http://www.sqlite.org/pragma.html#pragma_user_version Though the bummer is user_version is only 32 bits.
- takluyver 14y agoThere's already a similar situation for files like ODT, which are actually just a zip file with specific contents. But maybe the zip format has more flexibility to stick magic values in than sqlite does.
- coldtea 14y ago>One downside would be that tools like file(1) that try to guess a file's format by examining its contents would return "SQLite database" for every image file If the format catches on, they wont. For one, it would have it's own fixed file extension, and second, file(1) will be updated to perform and extra check even if something initially looks like a common SQLite database file.
- jared314 14y agoWhatever happened to the debate around how in/efficient the blob storage format in SQLite was? Did that get changed in v3? EDIT: Found the official examination[0] on the performance of blob storage. [0] http://www.sqlite.org/intern-v-extern-blob.html http://www.sqlite.org/intern-v-extern-blob.html
- angersock 14y agoI would like to suggest this minor change: create table layers (id text, parent_id text, sequence integer, uti text, name text, data blob); become (Vec2 used for notation's sake to make the declaration simpler--just two reals): create table layers (id text, parent_id text, sequence integer, uti text, name text, data blob, offset Vec2, bounds Vec2, rotation real); This would make it really easy to ignore layers which have no component in the view space, or to compactly represent raster subimages. "bounds" is the size of the axis-aligned bounding-box of the image. "offset" i a translation from the center of the axis-aligned bounding-box of the layer image data to the origin, and "rotation" is the rotation (in radians, CCW) of the layer. Order of application is rotation, then translation. EDIT: Fixed missing def for "bounds".
- eridius 14y agoI think you're missing something in your comment. There's no change between the two lines, and no reference to offset or rotation.
- aeontech 14y agomouse over the declaration line and scroll left.
- eridius 14y agoOh, wow. HN really truncates that early. Those code blocks were narrower than the surrounding text, with no indication whatsoever that they were independently scrolling divs. I get that HN is awfully bare-bones in its appearance, but this I think is a bit too far.
- chc 14y agoThat is a problem with your browser not clearly indicating scrollable areas. Hacker News doesn't do anything special to prevent browsers from showing scrollbars.
- darkstalker 14y agoWhat about OpenRaster? It's used in open source apps like MyPaint and Gimp. http://www.freedesktop.org/wiki/Specifications/OpenRaster http://www.freedesktop.org/wiki/Specifications/OpenRaster
- angersock 14y agoIf I can just use sqlite, than I don't have to open an archive, parse xml, and otherwise get into a bad mood (see their file layout here: http://www.freedesktop.org/wiki/Specifications/OpenRaster/Draft/FileLayout http://www.freedesktop.org/wiki/Specifications/OpenRaster/Dr...).
- eridius 14y ago> OpenRaster is an open exchange format for layered raster based graphics. How's that going to work for vector images?
- franksalim 14y agoYou can have SVG layers in OpenRaster. See: http://freedesktop.org/wiki/Specifications/OpenRaster/Draft/LayersStack http://freedesktop.org/wiki/Specifications/OpenRaster/Draft/...
- mkr-hn 14y agoWhy not XCF? https://en.wikipedia.org/wiki/XCF_%28file_format%29 https://en.wikipedia.org/wiki/XCF_%28file_format%29
- takluyver 14y agoThat page says: "The use of XCF as a data interchange format is not recommended by the GIMP developers, since the format reflects the GIMP's internal data structures, and there may be minor format changes in future versions."
- mkr-hn 14y agoIt still seems like a better basis to fork for a format than something new and untested.
- spartango 14y agoInterestingly, in the GIS/Mapping space Mapbox has faced a similar kind of problem, albeit with image tiles rather than just layers. Their solution was to come up with an image format called mbtiles (http://mapbox.com/developers/mbtiles http://mapbox.com/developers/mbtiles), which actually uses SQLite. It's not the same problem, but perhaps it throws some credibility to the use of SQLite as an on disk format for structured images.
- saraid216 14y agoESRI Shapefile formats include a DBF file, which is a Foxpro database.
- peatmoss 14y agoAnd I still dream of spatialite becoming the one interchange format to rule them all.
- blacksqr 14y agoI just used Spatialite to create a tool for managing large stacks of images on the pixel level; i.e., each image gets its own database file, each pixel is stored as an XYZ coordinate and an RGB value. I can use Spatialite's built-in functions to rotate, translate, scale, etc. images; and use SQL to pull out sub-volumes of the stack, edit and composite them. My biggest stack is almost 2000 images, over 90GB uncompressed data. Working with subvolumes is pretty snappy up to a few hundred megabytes, which is good enough for my purposes. For bigger jobs it should be possible to parallelize some tasks for better performance. Not entirely on-topic, but the takeaway is I'm thumbs-up for using SQLite to process image data.
- peatmoss 14y agoDo you do anything in particular to improve access speed to that image data? I've been working with big matrices that get spit out of traffic assignment software that we use in travel modeling. Every vendor seems to have their own proprietary format. We ended up using HDF5 as a container due to its somewhat awesome speed characteristics. I'd initially tried SQLite for that matrix data, but couldn't squeeze the same kinds of performance out of it. That could have just been my own brain fail though.
- itafroma 14y ago> Last summer, Adobe killed their image exchange format "FXG". Edit: previously I had balked at this claim, but I'm wrong. While I can't find any official notice of its death, and it's still in use in Scene7 and somewhat supported in the open-sourced version of Flex, trawling message boards does indicate Adobe shying away from it in favor of SVG[1][2] and it's not supported in CS6 without an extension. Still, his problem with FXG (or a format like it) seems superficial. Yes, FXG defines links to other assets instead of combining them into one file, but to me, that's a feature, not a problem: I can them programmatically swap out assets easily by just manipulating the references within the file. It makes it really useful for generating customized assets on demand. In practice, it's like HTML for layered documents. We don't complain that HTML is broken because it links to images instead of including them, do we? If you don't like that you have to send a folder: zip it up and give it a custom extension if need be, a la browser extensions and Microsoft Office formats. [1]: http://mail-archives.apache.org/mod_mbox/flex-dev/201303.mbox/%3cCD676E04.4F26E%25aharui@adobe.com%3e http://mail-archives.apache.org/mod_mbox/flex-dev/201303.mbo... [2]: http://mail-archives.apache.org/mod_mbox/flex-dev/201303.mbox/%3cCD677E4B.4F299%25aharui@adobe.com%3e http://mail-archives.apache.org/mod_mbox/flex-dev/201303.mbo...
- eridius 14y agoWe also don't typically use HTML as an interchange format between editors.
- eli 14y agoBut that's because HTML has complicated and ambiguous rendering rules, not because everyone hates structured, human-readable index documents.
- itafroma 14y agoAt its core, a layered document is a set of declarations about the constituent parts the document is made up. They link to other objects, like images and fonts. Whether you include everything the document links to into one container or let them hang out in a folder, it doesn't change how layered files are created or interacted with within editors or elsewhere. So to transmit web pages? Sure, we use HTML as an interchange format. You receive everything about the page to manipulate it, including the locations to where the images and other related files are. In other words, a layered document is not the same in kind as a JPEG or a GIF, which are flattened images. You need to be able to manipulate a layered document in the same way you could manipulate a Word document or an HTML file. Whether you use a plain text format like XML or a SQLite database, the end result is going to be the same: in a SQLite database, you could place the component images/fonts into the database as blobs, just as you could technically place the component images/fonts in an XML file as data URIs. But at least with XML, it's editable as plain text and doesn't require the component assets to be transmitted with the layout-defining file. I much prefer that over a format that dictates everything must be encapsulated within.
- Zikes 14y agoHow about an additional frames table?
- malkia 14y agoAnd why not TIFF?
- rogerbinns 14y agoFXG could have solved the single file problem by grouping all the files up and making a zip file, and picking a different extension. For example this is how Android (.apk) and iOS (.ipa) applications are distributed. It also has the advantage that if you extract the zip you can now access whatever pieces are inside as separate files even by tools that don't understand the containing format. (eg a bunch of jpg/png inside the zip are perfectly viewable in any image viewer). Trying to do the same with SQLite is problematic as you have to write queries to grab the blobs and then dump them to disk. Where SQLite as a format does shine is if you need to keep historical information such as an undo/redo log. That makes it good for an application format, but not for an interchange format.
- derefr 14y ago> For example this is how Android (.apk) and iOS (.ipa) applications are distributed. A more relevant example: this is how .docx files work, for very much the same reasons (one XML file at the root, and then a bunch of referenced resources.)
- Someone 14y agoApple also uses zip for Keynote, Pages and Numbers documents, again for very much the same reasons, and Java's .jar, .war, .ear, .whatevar files also use zip. .zip seems to be the universal 'combine some stuff in a single file' format, probably because it is old enough to be guaranteed patent free (OTOH: http://broadcast.oreilly.com/2010/06/is-zip-in-the-public-domain-or.html http://broadcast.oreilly.com/2010/06/is-zip-in-the-public-do... and http://www.pkware.com/support/zip-app-note http://www.pkware.com/support/zip-app-note. http://www.pkware.com/documents/casestudies/APPNOTE.TXT http://www.pkware.com/documents/casestudies/APPNOTE.TXT only mentions encryption and patching as patented)
- pmahoney 14y agoIt also, unlike tar.gz, provides an index for easily seeking to and extracting just one file from the zip archive. My understanding is that doing this in a .tar.gz means unzipping and processing the whole tarball as a stream.
- seanalltogether 14y agoI'm interested in why Acorn ties the concept of a layer so tightly to a bmp or shape blob rather then segregating the two. It seems that having a library table that the layer table links to would allow for better reuse of images. Library table <- pixel data Layer table <- heirarchy/duplication of library items Attributes table <- attributes of layers Also, are the concept of Pages accounted for by the ordering of parentless layers, or does Acorn not support the notion of pages? Would that be its own table or a modification on the Layer table.
- flutty 14y agoZip archive containing an SVG file embedding multiple png/jpg/jpeg2000 images.
- groby_b 14y ago"I want a filesystem in a single file. I'll pick the one I'm most comfortable with and pretend that it's much better than separate files". Meanwhile, we'll ignore all the semantic issues around the data. What exactly _is_ a layer? Any given image file? What if some tools only handle e.g. alpha-layers? What if a layer is actually a filter kernel? How are the layers composited? How are they ordered? Is it a linear order, or is there actually a tree of layers? The reason PSD works so well is only partially that things are all in one file. It's also that the semantics of its contents are extremely well defined. (OK, if you're willing to consider PSD documentation "extremely well defined") And Gus is almost completely punting on that part - define _that_ well enough, and it might make sense. Until then, it's just another VFS with a blob of assets that the receipient probably can't parse exactly as intended.
- robbles 14y agoCouldn't someone come up with a relatively sane schema for storing the same information that a PSD would contain in a SQLite database? That way, you could standardize on the semantics that are already documented and familiar to other developers, but avoid the difficulties of the file format, which seem to be the issue here. * disclaimer: I've never had to write a PSD-parser, I'm just going on hearsay.
- jcampbell1 14y agoPhotoshop layers have all the nastiness of threaded comments plus the added complexity of "blending". I frankly can't comprehend the complexity of modeling Photoshop's layers as SQL tables. Converting PSD's to JSON seems like a reasonable thing to do, but converting them to normalized SQL seems like a never ending shit show.
- cachvico 14y agoHow about just strip PSD of all its crud, Adobe specifies it openly and gives it to the commons. I have a dream..
- sneak 14y ago
- zellyn 14y agoSome of your blobs seem to contain a lot of structured data: I would further specify a format for them somehow: perhaps as further tables that join to the main ones, perhaps as JSON, perhaps as protobufs. Burying application- or format-specific blobs in SQL fields just pushes the problem down a level.
- hoov 14y ago> and Adobe, if you are listening you should really give SQLite a serious look I'm not in the Photoshop group, but I do make liberal use of SQLite in the projects that I'm involved in at Adobe.
- hiker 14y agoOpenEXR solved that problem years ago and it's supported by virtually all content creation tools. An open source implementation with a well designed C++ api and bindings to several other languages. For reasons that I don't understand, it's adoption is weak outside of the VFX industry.
- jbarham 14y agoYeah, OpenEXR (http://www.openexr.com/ http://www.openexr.com/) is a very nice format, well designed and documented, and with an open-source implementation. Apart from VFX and post-production, OpenEXR has also become the standard file format in HDR applications. IMHO it isn't mainstream yet because most people don't know what HDR imaging is and why current image formats are inadequate for HDR. For still image editing Photoshop is overwhelming dominant, whereas in VFX pipelines there's a lot of custom tools so you need an open format.
- aaronblohowiak 14y ago> When you want to send someone an image you want to pass them a single file, not an XML file with a folder of assets. While there are technical benefits to this, it's an incredible burden on the customer. Or, you could just zip that whole thing up and everyone who doesn't have to care thinks it is "just one file", like .war's.
- arielpts 14y agoOther common examples: .app .docx
- notatoad 14y agothis is like saying "i've invented a standard file format for all types of files. i call it binary. it's made up of zeroes and ones. i've solved interoperability forever".
- benatkin 14y agoThe author didn't put the punchline in the title. Why did you put it in the title, HN submitter or editor?
- comex 14y agoOn the contrary, in my opinion, this isn't a joke, and since the "punchline" was likely to draw attention to the article from people that might be more interested in a debate over the wisdom of using SQLite "trivially" like this than a generic discussion of image formats, it was useful and shouldn't have been removed from the title.
- Semiapies 14y agoThis is an interesting idea, though I cringe a little at using a relational database as a key/value store (as in the case of layer_attributes). I wonder whether it would be more useful to just represent the whole thing as a big JSON structure with base64 blobs. Each layer can be an object in the "layers" array with the attributes as keys.
- gilgoomesh 14y agoLayered images can easily grow to gigabytes in size. You do not want to store that much information in a format like JSON that must be opened into memory, parsed and stored in native objects. SQLite is RAM efficient and quick to open, even at large file sizes.
- Semiapies 14y agoFair enough - I rarely work much with images, so didn't even think of size.
- nvk 14y agoAmen!
- bane 14y agoOne nice thing about using SQLite is that various compressed versions of the flattened image could just be stored as blobs in another table in the same file. For example, my camera shoots with a RAW+JPG mode that produces two files, why not store the RAW data as described here and the JPG as an easy to grab/display item for quick image viewers etc. Hell store various common versions of thumbnails and icons in there as well.
- fnordfnordfnord 14y agoIf someone does this right, it should go over pretty well for EDA (Electronics Design) file formats. EDA is a wasteland.
- est 14y agoIMHO SQLite is horrible format. using Matroska (.mkv) would be suitable for anything, vectors, bitmaps, audios and so on. It's essentially a container format like XML but for binary WebM is based on mkv as well.
- shuzchen 14y agoCould you elaborate on what specific benefits using Matroska would have? One downside I can think of is that there are no programming environments (that I can think of) that ship a Matroska parser, whereas sqlite readers/writers are found in many standard libraries.
- jfb 14y agoI thought about this (actually, an ISO based format like MPEG-4, but same idea). You could even represent edits as samples over time, and then play back the file as a movie!
- xiesx 14y agoxkcd.com/927 :)
- mceachen 14y agoTIFF, http://en.wikipedia.org/wiki/Tagged_Image_File_Format http://en.wikipedia.org/wiki/Tagged_Image_File_Format has been around since 1993. It supports layers. It supports compression. It supports paged(!) images. It has well-defined supported image encoding formats. It's already supported by all the image editing software you've ever used (from this millennia). We have a Standard Layered Image Format. HURRAY. NEXT PROBLEM, PLEASE.
- sneak 14y agohttp://xkcd.com/927/ http://xkcd.com/927/
- elsamuko 14y agoFun fact: Even though Adobe sits on the TIFF standard for more than 20 years, Photoshop doesn't support layered TIFF images.
- jwarren 14y agoActually, it does: http://cl.ly/image/0j383w2d0t2v http://cl.ly/image/0j383w2d0t2v Open this test image if you don't believe me: https://dl.dropboxusercontent.com/u/824493/layertest.tif https://dl.dropboxusercontent.com/u/824493/layertest.tif
- elsamuko 14y agoThis one doesn't work with PS, but can be opened with GIMP as two separate images: https://sites.google.com/site/elsamuko/new.tif https://sites.google.com/site/elsamuko/new.tif tiffinfo of this image: http://pastebin.com/raw.php?i=85aUFjeS http://pastebin.com/raw.php?i=85aUFjeS
- jjcm 14y agoImage formats have come a long way. I think the author wants an image format that can replace .psd in a sensible way. TIFF sadly cannot do that. While it can contain layered raster data, it lacks a lot of other capabilities. The author explicitly mentions vector layers, but if you want parity with .PSD you're looking at also having to support adjustment layers (hue/curves/levels/etc), blending modes, opacity/fill, raster masks, clipping masks, vector masks, locks, annotations, guides, grids, gradients, tags, text, comps, channels, and countless other things I can't even think to list (I wont even dive into smart objects). Keep in mind that's just the layer data, there's tons of other metadata in the format as well. It is a behemoth of a file format, and the years of backwards compatibility inside of it have multiplied that complexity to levels of insanity. I have .psd files that if I enable backwards compatibility when saving will increase the file size by half a gig. Granted those are enormous source files to begin with, but with higher def screens on the horizon file sizes are increasing dramatically. Having something more sensible than .PSD is something we're going to have to deal with sooner or later.
- Groxx 14y agoThis is kind of like saying "We don't need PNG/JPEG/ETC, we just need to put image data in an XML file! It can do everything! Standardization at last!" Which is true. Except for that little "implementation" detail. I like the idea of using SQLite as a complex-data-in-single-file format. Hadn't really thought of that for cases like this. But it does nothing to solve the problem of standardization.
- VoxPelli 14y agoStandardizing a format/API upon a tool like SQLite was something that was proposed in the web world as WebSQL but scrapped due to not wanting an entire standard to rely on a specific code base but rather wanting to have the standard be possible to reimplementable by others and thus creating the IndexedDB standard instead. I'm not proposing that an image format like this one should use IndexedDB, but if relying on SQLite means being reliant on a specific code base that has to be used by anyone that wants to read the file - then it's probably not such a good idea. When discussing this I think one should also have in mind eg the move to web apps as well - a reliance on SQLite will make it hard for them to read the format. A standardized simple base format that can easily be supported in new languages would be preferable as I see it - but I'm no expert in the image processing area.
- greggman 14y agoIt's not going to happen for the same reason a standard 3D format will never happen. (and no neither FBX nor Collada fit). The problem is, at least in the case of image editors (and 3d editors), standard formats arguably stifle innovation because you have to break the standard to add anything. Maybe you decide it would be be better if all vector colors were stored as HSVA instead of RGBA except now no one can read your files. Maybe you'd prefer to store floating point colors with values greater than 1.0 to represent light emission. Maybe the standard only defines circles but you want eclipses. Maybe the standard says circles are defined based on rounded rect with the maximum roundness but you'd like them to be based on a center point and radius. Maybe the standard doesn't support text on a path but you want text on path. Maybe the standard doesn't support linking paths so that if the text doesn't fit on one path it bleeds into another. Maybe you'd like to justify text across multiple paths but that's not in the standard. Maybe you like columns but that's in the standard. Or you want to be able to define areas to be cut into pngs, each area with a specifiable filename. Or you want some of the settings to be per animation frame but the spec never thought about animation so your SOL. Or you want layer fx. Or you want to add a new layer effect. Or you want to be able to embed a PDF as a layer. etc.. etc.. etc.. Photoshop's basic chucky format is well known. It's not that hard to write some code to read all the chunks you care about. Putting those chunks in an SQLite format will not make it any easier to deal with new chunks your code does not understand.
- itafroma 14y ago> The problem is, at least in the case of image editors (and 3d editors), standard formats arguably stifle innovation because you have to break the standard to add anything. Indeed: that's exactly why Adobe created FXG instead of adopting SVG in the first place[1] (though they are now circling back to SVG). [1]: http://www.mikechambers.com/blog/2008/09/30/why-adobe-chose-fxg-over-svg/ http://www.mikechambers.com/blog/2008/09/30/why-adobe-chose-...
- lucian1900 14y agoEven if all vendors deviate, it's still easier to interoperate, since at least some of the structure is transparent.
- 14y ago
- 7952 14y agoA limited subset of HTML would be nice.
- schrijver 14y agoDon‘t think the discussion is complete without http://en.wikipedia.org/wiki/OpenRaster http://en.wikipedia.org/wiki/OpenRaster which is already supported in a number of programs.
- pbhjpbhj 14y agoWhat I'd like is the ability for two editors to work on a file at the same time, so layer locks might need to be built in. A db seems to me, a novice in everything relevant(!), to be a good way to allow multiple applications access whilst controlling for collisions.
- nanoscopic 14y agoCorrect me if I am wrong, but FXG files are an archive with an XML file and assets, just as xlsx files are. How is this a problem? How could is possibly be easier to open a file in sqlite than it is to just extract the file into it's folder structure with any standard decompression software? I don't know about you, but last time checked there is no easy way to open a file contained in a sqlite database in my editor directly. I for one would much prefer the archive method than using a sqlite database. Also, I would rather edit xml, than edit a sqlite database. XML can be edited by any text editor. I'd say text editors are a bit more universal and widespread than sqlite editors.
- jbverschoor 14y agoGood luck opening and modifying that 150MB psd file.
- aoloe 14y ago.ora? (OpenRaster) http://en.wikipedia.org/wiki/OpenRaster http://en.wikipedia.org/wiki/OpenRaster gimp (plugin), krita, and mypaint