file-format

Identifying Different Excel File Formats

Is anyone familiar with a library or tool that can determine which format an excel file is in? Or, failing that, documentation on the different formats that would allow me to write my own? ...

Help required with ancient, unknown storage system.

Morning all, I've gone and told a customer I could migrate some of their old data out of a DOS based system into the new system I've developed for them. However I said that without actually looking at the files that stored the data in the old system - I just figured a quick google would solve all the problem for me... I was wrong! Anyw...

Which floating-point image format should I use ?

In the past I've saved RGB images (generated from physical simulations) as 8-bits/channel PPM or PNG or JPEG. Now I want to preserve the dynamic range of the simulation output, which means saving a floating point image and then treating conversion to 8-bits/channel as a post-processing step (so I can tweak the conversion to 8-bit withou...

Inspect contents of a basic, unencrypted UDIF DMG file

If I mount the DMG file using system calls to hdiutil and my application quits unexpectedly, the DMG remains mounted but because I mount it privately with -nobrowse, it doesn't show up in Finder. Is there a way to mount it using some framework or API that will be smart enough to unmount if my application unexpectedly quits? Basically, I...

What freeware/floss tools are available to help load data into SPSS?

I'm looking for a solution for producing SPSS format data files for loading into SPSS. The few offerings I can find are all commercial. Has anyone experience with generating SPSS-format data files using open-source, freeware or home-grown solutions? I'm not even sure that the file format is "open". Any hints appreciated (any language i...

Photoshop save for web

In Photoshop's "Save for web and devices" dialog, how can I choose the file format that ALL the slices will in, without having to go through and select the format for each slice. I have alot of slices and will need to do this more than once. I'm using Photoshop CS4. ...

What kind of file is this?

I don't known the full story as I just got involved recently but I have a file that is "a MySQL data base" (longish story, the source is not technical). The file name is: something.db the Linux file command just gives data looking inside I find Copyright (c)2000 9.0.0.1108 Sybase (might be an author or file format vendor) I'm suppose...

Storing data in txt file in specific format

Hi, my question is related to my previous question (How to display data from txt file in specific format). I was wondering if it is possible at the first place, to store data on txt file in specific format rather than store it first and then retreived it again and display it in specific format? e.g. instead of store data on txt file li...

C#/.NET - Custom Binary File Formats - Where to Start?

I need to be able to store some data in a custom binary file format. I've never designed my own file format before. It needs to be a friendly format for traveling between the C#, Java and Ruby/Perl/Python worlds. To start with the file will consist of records. A GUID field and a JSON/YAML/XML packet field. I'm not sure what to use as de...

Im creating a program that generates a palette from a true color image, need help with some file formats

Im creating a program that generates a palette from a true color image, I need some help with some file formats It already creates a photoshop cs3 palette i haven't found any info on how to make a Paintshop pro 8 palette or a gimp palette plus i would be happy to look up any other art program palette types to improve compatibility wit...

What standard does BDE use for .sch schema files?

I was wondering - is there a standard (like a RFC) for the .sch schema file format the BDE uses? The format is described here and here. It seems based on this Microsoft format, but it's not quite the same. Example 1 - VARYING format file CUSTOMER.SCH: [CUSTOMER] Filetype=VARYING Delimiter=" Separator=, CharSet=ascii Field1=Customer ...

How do I read videoDuration of a .flv-file from *.Net without using the flash-activeX?

I have a winform program that allows users to upload Shockwave Flash movies to a server. To get the videoDuration I create an instance of the "ShockwaveFlashObjects"-activeX, loads the movie, and then read the videoDuration until it change from "0.0" to anything else. I get that by reading the GetVariable("videoDuration"). Often it work...

Tab Seperated text converted to tabular format with border

I needed to convert a Tab Seperated Text file into a tabular format as follows File content ID<TAB>WorkId<TAB>Date 0<TAB>W-1230699600000<TAB>2008-12-31 1<TAB>W-1233378000000<TAB>2009-01-31 needs to become +--------+-----------------+-------------+ | ID | WorkId | Date | +--------+-----------------+-------------+...

Is there a PHP script that can convert HTML table data to various formats?

Using PHP, I can convert MySQL data or static table data to csv, Excel, JSON, MySQL etc but is there a useful conversion script or tool that can convert table data into other formatted/styled formats such as PDF and/or JPG/PNG using the PHP GD Library or other? ...

Description of DIF file format as used by Excel?

What is the layout of a DIF file, and, more importantly, what is the meaning of the different header and data fields in one? The Wikipedia article has enough information that I suspect this would be an easy-to-generate format that's richer than CSV. But I can't find a good enough description of this format to actually generate it. ...

Excel document incorrect format

I have a macro enabled work book and i change the name of the .xlsm file to [FileName].xlsm.zip and then i unzip i get some folders I then put these extracted folders in to another folder and zip it back and rechange the extension to the previous xlsm format i now try and open but i get an unreadable error. I am not changing any content...

What is the specifications for Motion JPEG?

I've been googling like mad and can't find any file format specifications for mjpeg. What should the header look like? Do i just append a series of jpegs after the header? I know it's the usually in the .avi container, does that have a standardized format for codecs that might be in it? The goal is to make it in actionscript 3, but...

What video format is the smallest without losing quality?

We have a new client that we will be hosting content for. The client is producing a lot of video content. They have asked us what format we would like the files to be in. Now this video content will be uploaded and stored in our web based CRM. The client's customers will have access to this content for direct download (no streaming) thr...

Multiple audio streams in a MPEG-4 file

The MPEG-4 file format allows multiple streams to be present in a file. This is useful for videos containing audio in multiple languages. In the case of such a video, the audio streams are synchronized to the video. Is it possible to create a MPEG-4 file the contains desynchronized audio streams, i.e. the audio track are played on afte...

How to get the length of a file in MATLAB?

Is there any way to figure out the length of a .dat file (in terms of rows) without loading the file into the workspace? ...