file-format

Steganography in PDF files [closed]

笑着哭i 提交于 2019-12-06 01:41:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Can somebody tell me, where is possible to hide some data into PDF file? In other words, steganography in PDF files. Is there any algorithm to do this? 回答1: There are lots of ways to do this, including Embed the info into an image using traditional image steganography tools then embed the image into the PDF Set

What's the format of the OpenOffice dictionaries?

孤人 提交于 2019-12-06 00:29:11
Does anyone know what the format of the OpenOffice dictionary files are? As far as I can see there is one word per line, and some flags that presumably tells me something about the word. Here's a couple of lines from the english dictionary as an example: absoluteness/S absorbency/SM abstract/ShTVDPiGY absurdness/S And from the Norwegian dictionary, which is what I'll use: flatorm/AEG flatpresse/W flatseng/ACEG flatside/ACDEFGHJ flatskjerm/A What does for instance "/AEG" and "/S" mean? I assume each letter/flag has a certain meaning, so that tha A in "/AEG" means the same as the A in "/ACDEFGHJ

How can I say a file is SVG without using a magic number?

女生的网名这么多〃 提交于 2019-12-05 19:00:15
问题 An SVG file is basically an XML file so I could use the string <?xml (or the hex representation: '3c 3f 78 6d 6c' ) as a magic number but there are a few opposing reason not to do that if for example there are extra white-spaces it could break this check. The other images I need/expect to check are all binaries and have magic numbers. How can I fast check if the file is an SVG format without using the extension eventually using Python? 回答1: XML is not required to start with the <?xml preamble

How to identify whether an Excel file conforms to Excel 95 or Excel 97 specifications?

喜你入骨 提交于 2019-12-05 17:57:45
问题 How to identify where the Excel file use Excel 95 or Excel 97 specifications? i.e., which version of BIFF they uses. 回答1: You can find the necessary information in the MICROSOFT OFFICE EXCEL 97-2007 BINARY FILE FORMAT SPECIFICATION available from Microsoft. See page 11 for the following explanation: BIFF Microsoft Office Excel version --------------------------------------------------- BIFF5 Microsoft Excel version 5.0 (XL5) BIFF7 Microsoft Excel 95 (XL7) (also called Microsoft Excel version

Is there a difference between the Outlook .MSG and .OFT file formats?

做~自己de王妃 提交于 2019-12-05 14:44:04
This question is somewhat of a long shot, but I've spent hours on it to no avail. I have some code that generates an email file on a webserver, and allows the user to download that email and open it in Outlook. From here, they can make various manual changes to the email before they send it to a bunch of people. Right now, I generate a .OFT file, which is basically an email template. What I want to do is generate a .MSG file, which is an actual email. From a binary point of view, it seems these file formats are identical. They have the same Stream IDs and properties and stuff. My approach was

Perforce: Keeping Perforce from altering text-file format

最后都变了- 提交于 2019-12-05 12:51:06
问题 Is there a way to tell Perforce to leave text files alone without setting the file-type as binary? Or barring that, is there a way to tell the Perforce client to diff binaries? Binary usually isn't desirable, because I lose the ability to diff. To clarify: If I edit and make changes to a *.txt file on my window client, newlines will have CR+LF as per the DOS format. But if I P4 sync on a Unix client, it will have LF only. I need Perforce to keep the format as-is, regardless of where the

File Type - Get Original Extension

◇◆丶佛笑我妖孽 提交于 2019-12-05 10:59:06
How to find file extension if the file has been renamed? Is there any tool are available for this? Example: I have a file "1.doc"; I hope everybody know this is a Word document I just renamed as "1.txt". But the file is a Word document originally; how can I get the original file extension? Of Course You can :) This is the C# code for you. I guess you can bulid your own tool ;) using System.Runtime.InteropServices; using System.IO; using Microsoft.Win32; [DllImport(@"urlmon.dll", CharSet = CharSet.Auto)] private extern static System.UInt32 FindMimeFromData( System.UInt32 pBC, [MarshalAs

Formats for Saving Vector-based 3D Graphics

大城市里の小女人 提交于 2019-12-05 09:53:56
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? Commercially, many users will look for AutoCAD DWG and Bentley DGN formats. While not free, libraries for producing these formats can be found from the open design alliance The GIS community use shape files quite a bit for vectorised 3d models, a free SDK for shape files can be found here . The OSG library is

reading middlebury 'flow' files with python (bytes array & numpy)

三世轮回 提交于 2019-12-05 06:21:48
问题 I'm trying to read a .flo file as a numpy 2Channels image. The format is described like this: ".flo" file format used for optical flow evaluation Stores 2-band float image for horizontal (u) and vertical (v) flow components. Floats are stored in little-endian order. A flow value is considered "unknown" if either |u| or |v| is greater than 1e9. bytes contents 0-3 tag: "PIEH" in ASCII, which in little endian happens to be the float 202021.25 (just a sanity check that floats are represented

Paradox database file

ⅰ亾dé卋堺 提交于 2019-12-05 06:09:40
I found paradox database files with different extension. There are db file, mb file, dat file, px file, XG0 file, XG1 file, XG2 file, XG3 file, XG4 file, YG0 file, YG1 file, YG2 file, YG3 file and YG4 file. I already found way to open db file and px file using gnumeric spreadsheet. I found some of needed data from db file. But, rest of data not in db file. So, i have to open rest of files. I cant find software that can read those files. manlio Unfortunately, Borland has never documented the Paradox file format, so there's no definitive information available. Anyway: the actual data are in the