Home >> Computers >> Data Formats >> Conversion


  Companies
  Software
   


Information conversion is a conversion of a single form of computer information to a second--the changing of bits from existence around 1 format to a different 1, ordinarily for even the purpose of application interoperability or of capability of utilizing fresh features. At the simplest level, information conversion may be exemplified by conversion of a text file from one character encoding to another. Extra complex conversions come victims of professional file formats, & conversions of image & audio file formats come an endeavor that is beyond a ken of average computer users.

Information basics

Prior even to any info conversion is carried out, a user or application computer programmer should keep two or three basic principles of computing & information theory in mind. These include:

Facts might easy become junked using the computer, however adding info will require effort. the computer may be utilized to add facts exclusively within a rule-depending fashion; virtually all additions of info that users need may be done exclusively sustaining human being judgement. Upsampling the trading tools or even converting to the thomas more feature-rich format doesn't add information; it but makes room for that addition, which normally a homo must run.

For instance, the truecolor image can well exist as converted to grayscale, when a paired conversion occurs as scrupulous run. Converting the Unix text file to a Microsoft (DOS/Windows) text file involves adding reference, that is to say the CR (hex 0D) byte prior to apiece LF (0the) byte, however that addition is well done using the computer, since these come rule-depending; whereas the addition of colour principles to a grayscale image just can't exist as done programmatically, since just a human being knows which colors are required for every part of the picture--no system that may be utilized to automate that run. Converting the Xxiv-bit PNG to a 48-bit of these doesn't add reference thereto, it sole pads existent RGB pel values by owning zeroes, therefore that the pixel with the value of FF C3 56, e.g., becomes FF00 C300 5600. the conversion makes it imaginable to vary a picture element to have a value of, for example, FF80 C340 56A0, however a conversion itself doesn't run that, exclusively more manipulation of the image may. Converting an image or even audio file within the lossy format (like JPEG or Vorbis) to a lossless (like PNG or FLAC) or uncompressed (rather BMP or WAV) format only wastes space, since a equivalent image by owning its loss of original info (a artefact of lossy compression) becomes a target. a JPEG image could never exist as restored to a quality of the original lossless image from either which it was processed, disregarding how else very much the user seeks the "JPEG Artifact Removal" feature of his or even her image manipulation program.

Because one realities of computing & tools theory, information conversion is additional typically than does'nt a complex & error-erring run, necessitating the facilitate of experts. These are safe to say that exclusively a profits of artificial intelligence can put data conversion corporations away from job.

Pivotal conversion

Information conversion may be directly from either of these format to an additional, however numbers of applications that convert between multiple formats have the polar encryption by way of which any source format is converted to its target. For instance, these are imaginable to convert Cyrillic text from KOI8-R to Windows-1251 using a search table between them encryption, however a modern approach is to convert a KOI8-R file to Unicode first and from either that to Windows-1251. This occurs as supplementary realizable approach: an application specializing inside character encoding conversion would develop to keep hundreds of search tables, for all the permutations of character encoding conversions available, when keeping search tables upright for both character placed to Unicode scales down the total to two or three tens.

Polar conversion is likewise utilized inside more areas. Professional applications, whilst listed to convert between professional file formats, apply their internal, default file format as a pivot. For instance, the word processor may convert an RTF file to a WordPerfect file by converting the RTF to OpenDocument and then that to WordPerfect format. An image conversion program doesn't convert the PCX image to PNG directly; instead, while loading the PCX image, it decodes it to a elementary electronic image format for internal utilize within memory, & when commanded to convert to PNG, that memory image is converted to the target format. An audio convertor that converts from either FLAC to AAC decodes the source file to raw PCM data in memory foremost, and so performs a lossy AAC compression thereon memory image to make a target file.

Lossy and inexact data conversion

For any conversion to become carried out while forgoing loss of info, a target format must trend lines a equivalent features & information constructs present in the source file. Conversion of the word processing document to the evidently document necessarily involves loss of references, because obviously text format doesn't trend lines word processing constructs like marking the word when bold. For this cause, conversion from either either 1 format to the second that has less features is seldom carried out, though it can be necessary for interoperability, eg converting a file from a single version of Microsoft Word to an earlier version for a sake of people world health organization don't keep close at hand the latest version of Word installed.

Loss of references may be mitigated by approximation in the target format. No way of converting the character rather ä to ASCII, since a ASCII standard lacks it, however the information can be retained by approximating the character when ae. Naturally, this is non an optimum guide, & could impact operations rather shopping & copying; & in case the language makes the distinction between ä & ae, so that approximation does require loss of references.

Information conversion can too suffer from either inexactness, a effect of converting between formats that come conceptually different. A WYSIWYG paradigm, extant in word processing system & desktop publishing applications, versus the structural-descriptive paradigm, observed around SGML, XML and many applications derived therefrom, prefer HTML and MathML, is one case. Applying a WYSIWYG HTML editor conflates them paradigms, & the effect is HTML files sustaining suboptimal, in case does'nt nonstandard, code. In the WYSIWYG paradigm the double linebreak signifies the freshly paragraph, when that is the ocular cue for such the conception, however the WYSIWYG HTML editor may unremarkably convert such the sequence to

, which is structurally there are no freshly paragraph the least bit. When another example, converting from either PDF to an editable word processor format occurs as arduous job, because PDF records the textual tools such as engraving in stone, by having both character given a fixed position & linebreaks hard-coded, whereas word processor formats accommodate text reflow. PDF doesn't underst& of a word space character--a space between deuce letters and the space between deuce words differ exclusively around quantity. So, the title by owning ample letter-spacing for result might normally prevent higher by owning spaces in the word processor file, e.g. INTRODUCTION using spacing of I em as I North T R O Five hundred U 100 T I personally O North on the word processing system.

Open vs. secret specifications

Successful information conversion takes thorough noesis of the workings of two source & target formats. In the pack in which the specification of a format is unknown, reverse engineering will be needed to carry out conversion. Reverse engineering might achieve close approximation of the original specifications, however errors & missing features may however symptom. A binary format of Microsoft Office documents (DOC, XLS, PPT & a rest) is undocumented, & anyone world health organization tries interoperability by using victims formats needs to reverse-engineer the two.

iConv Online File Format and Data Conversion
Commonly used file format and data conversions online.

Data and Format Conversion
Introduction to data and format conversion.

Creativyst CSV to XML Conversion
On-line conversion of Comma Separated Values (CSV) to XML tool.

Converting Text Files Between Operating Systems
How to transfer text files between Linux, Macintosh, and Microsoft Windows operating systems, relating to line feed and carriage return characters.

Convee
Online tool converts between languages, currencies, document, image and spreadsheet formats, also offering SMS and fax transmission based on free services.

FileConversion.NET
Subscription web service to convert files between different image, audio and document formats. Offers file type identification facility with free registration.


Science: Reference: Units of Measurement: Online Calculators






© 2005 GeneralAnswers.org