file-format

Does anybody know of existing code to read a mork file (Thunderbird Address Book)?

I have the need to read the Thunderbird address book on the fly. It is stored in a file format called Mork. Not a pleasant file format to read. I found a 1999 article explaining the file format. I would love to know if someone already has gone through this process and could make the code available. I found mork.pl by Jamie Zawinski ...

Will random data appended to a JPG make it unusable?

So, to simplify my life I want to be able to append from 1 to 7 additional characters on the end of some jpg images my program is processing*. These are dummy padding (fillers, etc - probably all 0x00) just to make the file size a multiple of 8 bytes for block encryption. Having tried this out with a few programs, it appears they are f...

Git pack file entry format

My understanding of the Git pack file format is something like: Where the table is 32-bits wide, and the first three 32-bit words are the pack file header. The last row of 32 bits are the first 4 bytes of an entry. As I understand it, the size of the entry is specified by consecutive bytes with the MSB set, followed by compressed dat...

How do I create a container file?

I would like to create a file format for my app like Quake, OO, and MS Office 07 have. Basically a uncompressed zip folder, or tar file. I need this to be cross platform (mac and windows). Can I do something via command prompt and bash? ...

Reading quicken data files

Looking for an open source library, for C++, Java, C# or Python, for reading the data from Quicken .qdf files. @Swati: Quicken .qif format is for transfer only and is not kept up to date by the application like the .qdf file is. ...

General Binary Data Viewer for Windows Vista

I'm looking for recommendations for a good program for 32-bit Windows Vista that will load any arbitrary binary file and display textual information or graphical visualization relevant to identifying what actual data the bits are supposed to represent. Is ther anything better than a hex editor for this kind of thing? One thing I'd like ...

How to create basic Adobe Illustrator files programatically?

I need to create a really basic Adobe Illustrator file on the clipboard that I can paste in Adobe Illustrator or Expression Design. I'm looking for code samples on how to programaticaly generate Adobe Illustrator Files, preferably from C# or some other .NET language (but at the moment any language goes). I have found the Adobe Illustrat...

File format of CF10-jpg

While working on a tool that allows to exchange images of several third-party applications and thus creating individual "skins" for those applications, I have stumbled across a jpg-format about which I cannot seem to find any decent informations. When looking at it in a hex-editor, it starts with the tag "CF10". Searching the internet h...

Which format for small website images? GIF or PNG?

When doing small icons, header graphics and the like for websites, is it better to use GIFs or PNGs? Obviously if transparency effects are required, then PNGs are definitely the way to go, and for larger, more photographic images I'd use JPEGs - but for normal web "furniture", which would you recommend and why? It may just be the tools...

Is it legal to reverse engineer binary file formats

Is it legal to add support for a 3rd party file format in my application by reverse engineer a unencrypted binary file format from another application, and reading the contents? ...

Favorite image file format for 2d sprites

What is your favorite, lossless image format for games (namely 2d games)? And why? Some things to take into consideration are size on disk, overhead for converting to a usable format, and features of the format (ie alpha support). There is no best answer, but be sure to back yours up the best you can! ...

Why is half of my compiled (small) objective-C file a large block of zeroes?

I opened up my compiled Hello World Obj-C application in a text editor and, to my surprise, I found about 8 kilobytes of 00 00 00 00 00 00 00 00 .... Why are these here? Is there a way to clear out these zeroes (which I doubt have too much function)? Obviously it's not so important in this file, seeing as it's only 16kB to begin with,...

Palm/Garnet OS Icon format?

I have googled around and not seen any info. What format and icon color depths are used for applications? ...

Election 2008 data files - how to know which candidate received the financial contribution?

I was trying to programmatically go through presidential campaign contributions to see which web 2.0 people contributed to which candidates. You can get the data file indiv08.zip on the site http://www.fec.gov/finance/disclosure/ftpdet.shtml#a2007_2008 I can parse out who contributed and how much they contributed, but I cannot figure ou...

Map-Navigation Project, How is road data generally stored/represented?

Navigation systems like the Garmin and TomTom have always fascinated me. I've wanted to implement small map/navigation applications to try out various pathing algorithms and expand on my knowledge of them. This is a two part question: 1.) How is Map data stored? - When you have a network of roads, how is this data generally stored? ...

Formats for Saving Vector-based 3D Graphics

I have written a vector-based 3D editor (UI customized somewhat like technical drawings). I now want save the vectors/drawing data in portable formats. Which formats are available; which (one?) of them are the most widely accepted, and where can I get hold of the format specifications? ...

Simple wireframe format?

I'm looking for a simple file format to use for wireframe models. I am aware of VRML, u3D, etc, but these seem heavyweight for my needs. My criterea are: Must have a clear spec. Either open or very well established/documented. I only need (want) simple models - vertices and edges. I don't want to handle faces or objects. If the format ...

Are there alternatives for creating large container files that are cross platform?

Previously, I asked the question. The problem is the demands of our file structure are very high. For instance, we're trying to create a container with up to 4500 files and 500mb data. The file structure of this container consists of SQLite DB (under 1mb) Text based xml-like file Images inside a dynamic folder structure that make ...

3D scene file format & viewer

I am looking for a cross-platform solution for saving and viewing 3D scenes (visualizations of engineering simulation models and results) but there (still) doesn't seem to be much out there. I looked into this almost 10 years ago and settled on VRML then (and started the project that eventually turned in OpenVRML). Unfortunately, VRML/X...

How to identify the file content is in ASCII or binary?

How to identify the file content is in ASCII or binary file using c++? ...