file-format

Load Jpg/Gif/Bitmap and convert to Bitmap

Hi, I have to load an image from an XML file. There is no information in the XML file about whether the image is JPG/GIF/BMP. After loading the image, I need to convert it to Bitmap. Does anyone have any clue how to convert images to Bitmap without knowing the actual file format? I'm using Delphi 2007/2009 Thank you. ...

Read/Parse/Modify MS Word document in Delphi without Word Automation

Hi, Does anyone know any good library (free or commercial) for Delphi that can read/parse/modify MS Word documents (preferably with Word 2007 support) without MS Word OLE Automation? I've found some for .Net, but none for Delphi. For example, here are two .Net/Java libraries - Aspose, Word.net I don't want to add .Net dependencies in m...

How to choose a file format?

I created a .NET application years ago without thinking too hard about the file format: it uses a soap formatter to serialize our large hierarchy of objects. It was dirt simple to do, and so I didn't give it much thought. I'm now trying to come up with a more optimal file format considering the following issue: When a file is saved, it ...

MOV format specification

Is there a documentation for reading Quicktime MOV file without using Quicktime SDK? ...

Starting point for learning CAD/CAE file formats?

We are developing some stress and strain analysis software at university. Now it's time to move from rectangles and boxes and spheres to some real models. But I still have little idea where to start. In our software we are going to build mesh and then make calculations, but how do I import solid bodies from CAD/CAE software? 1) How CAD...

Sample COLLADA files for development of an importer?

Hi all, I'm preparing to write a COLLADA importer in Java. There aren't any pre-written importers, and even if there were I would probably be picky, so I believe this is best. I am going with COLLADA 1.4 because I do not need the 1.5 features, and many programs don't yet support it. I found the spec for it and plan on following it, but ...

Why provide fonts as swfs for sifr?

I'm working with a designer who has supplied some font files as swfs for sifr. Could someone explain why this file format is being used for a font file? Does this have to do with legal restrictions about supplying regular font files for download from a web site - i.e. by providing them as swfs they are less usable for anything except...

Does anyone know of any APIs for reading or writing Flash source files (*.fla)?

I would like programmatic access to the ActionScript I have on frames within Flash source files. We have hundreds of flash files, each representing "lessons", and each frame within each lesson represents a "page" in an instructional book. So there are thousands of pages, each of which have scripts that play animations and other things....

What's the best way to store grouped key value pairs in a file?

Currently I just have a file like this that I manually parse into a Dictionary: str1=Hello str2=World This is no longer practical for several reasons: I need lists of strings that I can access by index I want to split the key value pairs into groups I consider using XML now because: Good for key value pairs and groups I could us...

What algorithm does MsOffice use for file encryption?

I am looking for documentation on the encryption algorithm used by Office for its BIFF files. The documetation says: "All records after FILEPASS are encrypted (see the Office Open XML specification (Ecma Internation Standard 376) for further details)." I looked at the ECMA documentation but could not find anything related to encryption...

retrieve MergeField values from mail-merged Word Document programmatically

I have a large collection of MSWord documents (approximately 40,000), which are the results of mailmerges (same main document, different data sources). One of the merge fields is a text field which could have the text "Yes" or "No". Is there an easy way to list which of the documents have that merge field set to the value "Yes"? (I'm...

Validation of TSV file in Java

I make a web application to upload a tsv file JDK -> 1.4 Struts -> 1 Resin -> 3.0.9 TSV file parsed with "\t","\n","\r" Validation is.  1. Is the file name along a naming convention?  2. Is it TSV file? How should I do validation of a picture or Office document similar to TSV? ...

3D File Formats for Games

I'm getting started with XNA and Blender and am trying to find good quality, up to date information on the various 3D file formats that are used in game development. Clearly many games are developed with multiple and custom 3D file formats, but I'm interested in choosing a good solution using a more commonly supported format. What are ...

What configuration file format allows the inclusions of otherfiles and the inheritance of settings?

I'm writing a Multiplayer C++ based game. I need a flexible file format to store information about the game charactors. The game charactors will often not share the same attributes, or use a basew For example: A format that would allow me to do something like this: #include "standardsettings.config" //include other files which thi...

Is there a JSON stringify and parse capability for VB.NET?

I looked on the JSON.org website but I couldn't find any JSON library for Visual Basic .NET, does one exist? Did anyone have any success using Json.NET with VB.NET? ...

What programming language do people code image files with?

I'm trying to do some image file work, specifically convert one image file format to another. Does anyone know of any examples/guides for how one might accomplish this? What kinds of programming languages is this generally done with? Edit: Apparently I know so little about this I don't even know the important info to tell you :) So I'm...

Can anyone identify this image format?

I have a format for signatures in a database that an uncooperative vendor has been using for a client of ours. We are replacing their system. A signature begins: 0A000500010002000100020001000100010001000100010001000100D100010001004F0001000100 01000100010001000100010001000100010001000100010001000100FF00FF00FF00010001000100 010001000100...

Storing XML document in pre-parsed binary format

My application need to store large amounts of XML-like hierarchical information with the following requirements: Fast to read Minimal memory consumption Typed data instead of merely text Any suggestions for a binary format that fulfills these goals? ...

TIFF File Structure Standards

I've read the TIFF file specification provided by Adobe, but I couldn't find any standards related to: If it's better/more accepted to put IFDs immediately following the image data they describe/immediately preceding the image data they describe/all together at the top with image data below/etc. How many rows to put in each strip. Is t...

Name that printing file format

Hello there fellow Stackers! I wonder if anybody could tell me what the following file format is? If you print it as-is then your print out will be, er, as-is BUT if you send it directly to the printer (for example using NET USE in a DOS/Windows batch file) it will actually print a very nice Parcelforce posting label: :Printer Setti...