« PreviousNext »

TIFF || gigabyte

2 July 2008

Tagged Image File Format (kısaca TIFF) grafik, fotoğraf gibi dosyalar için kullanılan bir biçimdir. Aldus isimli şirket tarafından üretilmiştir. JPEG ve PNG gibi TIFF de yüksek renk derinliği olan görüntülerde kullanılır. Photoshop, GIMP gibi görüntü işleme programları TIFF biçimini destekler. TIFF was chosen as the native format for raster graphics in the NeXTstep operating system, and this TIFF support carried over into Mac OS X. Adobe Systems, which acquired the PageMaker publishing program from Aldus, now controls the TIFF specification, although it has not had a major update since 1992 (several technical notes have been published with minor extensions to the format).

Konu başlıkları


Tarihçe

The phrase “Tagged Image File Format”, or, actually, “Tag Image File Format”, was used as a subtitle in some earlier versions of the TIFF specification. The current TIFF specification, TIFF 6.0, makes no mention of these phrases; the name is now, simply, “TIFF”.

TIFF was originally created as an attempt to get desktop scanner vendors of the mid-1980’s to agree on a common scanned image file format, rather than have each company promulgate its own proprietary format. In the beginning, TIFF was only a bi-level image format, since that was all that desktop scanners could handle. As scanners became more powerful, and as desktop computer disk space became more plentiful, TIFF grew to accommodate grayscale images, then color images.


Esnek seçenekler

TIFF esnek ve adapte edilebilir bir dosya biçimidir. Dosya başlığında etiketler (tag) kullanarak tek bir dosyada birden fazla görüntüyü ve veriyi barındırabilir. Etiketler götüntünün boyutları gibi temel geometrisini veya hangi sıkıştırma tercihinin kullanıldığını belirtebilir. For example, TIFF can be used as a container for JPEG and RLE (run-length encoding) compressed images. A TIFF file can also include a vector-based Clipping path (an outline that crops or frames the main image). The ability to store image data in a lossless format makes TIFF files a useful method for archiving images. Unlike standard JPEG, TIFF files can be edited and resaved without suffering a compression loss. Other TIFF file options include multiple layers or pages.

Artık kabul gören standart bir biçin olarak kabul edilse de, TIFF’in esnekliği ilk çıktığında bazı uyumluluk sorunlarına sebep oluyordu. Programcılar yeni etiketler ve seçenekler tanımlayabiliyorlar, fakat bütün programlar yaratılan bu yeni etiketleri destekleyemiyordu. As a result the lowest common denominator soon became “the” TIFF, and even today the vast majority of TIFF files, and the code that reads them, are based on a simple 32-bit uncompressed image.

TIFF has an option to use LZW compression, a lossless data compression technique for reducing file size. Until recently, the use of this option was limited because the LZW technique was the subject of several patents. However, these patents have now all expired.

Every TIFF file begins with a 2-byte indicator of byte order: “II” for little endian and “MM” for big endian byte ordering. The following 2 bytes represent the number 42. The number 42 was selected “for its deep philosophical significance.” The reading of 42 is dependent on the byte order indicated in the first 2 bytes. The entire file is read based on the indicated byte order.

Byte order can cause compatibility issues between Apple Macintosh and Windows programs, which typically use different byte order for TIFF files. Some programs offer the option of saving in Mac or Windows byte order so files can be used across platforms.


Doküman görüntülemede TIFF

TIFF format is standard in document imaging and document management systems. In this environment it is normally used with CCITT Group IV 2D compression, which supports black-and-white (also called bitonal or monochrome) images. In high-volume environments, documents are typically scanned in black and white (rather than color or grayscale) to conserve storage capacity. An average A4 scan produces 30 kilobytes (KB) of data at 200 ppi (pixels per inch resolution) and 50 KB of data at 300 ppi. 300 ppi is far more common than 200 ppi.

TIFF biçimi birden fazla sayfayı desteklediği için, çok sayfalı dokümanlar ayrı ayrı dosyalar yerine tek bir TIFF dosyası olarak kaydedilebilir.


Üstünlükleri

The TIFF file format is unusual in comparison to other image formats, in that it is composed of small descriptor blocks containing offsets into the file which point to the actual pixel image data (composed of bands of pixel rows). This means that incorrect offset values can cause programs to attempt to read erroneous portions of the file or attempt to read past the physical end of file. Like most other image file formats, improperly encoded packet or line lengths within the file can cause poorly written rendering programs to overflow their internal buffers. Properly written image rendering programs generally avoid such pitfalls.

Multiple buffer overflows have been found in libtiff[1][2][3], some of these have also been used to execute unsigned code on the PlayStation Portable[4][5].


Ayrıca bakınız


Dış bağlantılar

Posted in , , Uncategorized | Trackback | del.icio.us | Top Of Page

No comments yet

Leave a Reply


You must be logged in to post a comment.