file-format

Good online library of common file formats.

Is there a good online library site that brings together, in one place, the specifications of various file common formats such as PNG, MP3, 7Z, SVG, PDF, DOC and so on? By "good" I mostly mean: Extensive. Up to date. Tips and guidance. Free. I have in mind something the equivalent of http://www.pinvoke.net, but for file specificat...

Multipart tiff and EXIF metadata

In the tif format, when you add EXIF meta data it creates an new IFD (tif-direcory) and stores the exif metadata as fields. So when parsing a tif file with a single image and exif data is easy. But you can get multipart tiffs, where a tif can contain more then one image, the question is can each of these images have EXIF data? Does this...

how to store resume format in asp.net ?

Hello Everyone, I am developing online resume builder web application in asp.net. I have designed web forms in which we are taking all details (required for resume) from user. Now my next step is to retrieve values from database & put those values in resume format. My question is, How to store that retrieve values in resume format ? O...

Is there an unofficial Flash .FLA spec?

Is there an unofficial spec anywhere that explains how to reverse engineer a Flash .FLA file? I'm specifically interested in creating an application that can "auto-scene plan" a Flash document programmatically, pulling in content from other files, arranging that content into layers, without needing the Flash IDE open. Animators would t...

If I wanted to define a file format, how would I go about that?

Say I come up with some super-duper way of representing some data that I think would be useful for other people to know about and use. Assume I have a 'spec' in some form, even if it might not be a completely formal one: ie, I know how this file format will work already. How would I then go about releasing this spec to get comments and ...

A C style string file format conundrum

I'm very confused with this wee little problem I have. I have a non-indexed file format header. (more specifically the ID3 header) Now, this header stores a string or rather three bytes for conformation that the data is actually an ID3 tag (TAG is the string btw.) Point is, now that this TAG in the file format is not null-terminated. So ...

What is the standard format for localised resource files on different development platforms?

Hi, When developing in .Net, the framwork provides resx files as the standard way of storing localised resources (e.g. tranlsations of UI text). I would like to know if there is a standard format for this in other development platforms (e.g. Java, RoR, etc.) and what that format is. Thank you! Please limit each answer to one developm...

How to split an animated gif in .net?

How do you split an animated gif into its component parts in .net? Specifically i want to load them into Image(s) (System.Drawing.Image) in memory. ====================== Based on SLaks' answer i now have this public static IEnumerable<Bitmap> GetImages(Stream stream) { using (var gifImage = Image.FromStream(stream)) { var dimens...

what is the best language to process ebooks in different formats

I have a collection of ebooks in different formats (e.g pdf, lit, chm, and other), I would like to extract the first page of each book and have it in plain text. What would be the best language to do so? A portable language between Linux and XP would be a big plus. My prime candidates at the moments are Java and Ruby, mostly be...

XML schema/format for representing a generic file format?

Is there an existing XML schema that can be used to describe a generic file format? Something that would have tags that say things like "The file has a header that is x bytes long", "The first element of the header is a 4 byte unsigned integer that represents the length of the file", etc. ? I need a format of this sort and wanted to ma...

DTSX files - How to peruse & edit

I have a DTSX file in a project I'm taking over. I have Visual Studio 2005 Pro, but it just opens it as an XML file. SQL Server Management Studio 2005 does the same. I've seen people opening these files in some workflow-esque format; Business Intelligence Development Studio comes to mind. Is this part of Visual Studio or SQL? Does it...

Reverse Engineering File Formats using AI Techniques

This is to extend the question: Tools to help reverse engineer binary file formats Are there any tools that are publicly available that uses clustering and/or data mining techniques to reverse engineer file formats? For example, with the tool you would have a collection of files that have the same format and the output of the tool wou...

3gp File format question

Hi , I have a doubt regarding 3gp/mp4 file format. Is it possible to have multiple audio/video tracks within a same file encoded with different codec. e.g one amr audio track and one aac audio track. one h264 video track and one h263 video track. User can choose which audio /video combination it want to play. Regards nitin ...

Functional testing of output files, when output is non-deterministic (or with low control)

A long time ago, I had to test a program generating a postscript file image. One quick way to figure out if the program was producing the correct, expected output was to do an md5 of the result to compare against the md5 of a "known good" output I checked beforehand. Unfortunately, Postscript contains the current time within the file. T...

Best Config File Format

I'm starting a new multi-language project completely without cruft. I have to choose a format for config files. These will be: Written by humans (developers, not end users) Read by machines Maintained by humans Worked with by text editors (not a tool) I have many different uses, like: List of modules to run Module execution order ...

How to read Lotus Notes mail archives (*.nsf)

Does anyone know how to read these files without using the interops or COM interaction? Just the direct way. Is there any spec of this format or reverse engineered stuff that could help on this? Thanks. ...

Is there a open source library to help read Microsoft Compound Binary Files ?

Is there such a library? At at least a good documentation sorce as the one available by Microsoft is a bit hard to understantd and a bit superficial? Thanks ...

Semantic (or symbolic) Representation of Music

I'm looking to create a little app that allows the user to visual and control (mostly) classical music, in order to better recognize structures such as canon. What would be an appropriate data and file structure to store the music in? I know very little about music, so this will be a learning experience on two levels for me. I'd like ...

Tips on how to parse custom file format

Hello, Sorry about the vague title, but I really don't know how to describe this problem concisely. I've created a (more or less) simple domain-specific language that I will to use to specify what validation rules to apply to different entities (generally forms submitted from a web page). I've included a sample at the bottom of this po...

What are the binary storage formats for sqflt8, sqlmoney and other native SQL data types?

According to the documentation, native (binary) data can be imported or exported with bcp formatted in the native SQL Server data formats. Examples of these are SQLFLT8, SQLFLT4, SQLMONEY or SQLNUMERIC. Does anyone know either what the data formats for the various types are, or where documentation specifying these formats might be foun...