|Developer(s)||Aladdin Systems, Smith Micro Software|
|Operating system||macOS, Windows|
15 reviews of DMG Nails 'The only place I trust to touch my nails Been going here for over four years and they have never disappointed me! Always get my shape perfect and have a great selection of shellac colors. Don't expect to walk in without a.
StuffIt is a family of computer software utilities for archiving and compressing files. Originally produced for the Macintosh, versions for Microsoft Windows, Linux (x86), and Sun Solaris were later created. The proprietary compression format used by the StuffIt utilities is also termed StuffIt.
- 3Notable features
|Internet media type|
|Type code||SIT!, SITD, SIT2, SIT5 (depending on file version)|
|Uniform Type Identifier (UTI)||com.stuffit.archive.sit|
|Developed by||Raymond Lau (creator), currently Smith Micro|
|Initial release||1987; 32 years ago|
|Container for||files, including resource forks|
Dmg Site Services
StuffIt was originally developed in the summer of 1987 by Raymond Lau, who was then a student at Stuyvesant High School in New York City. It combined the fork-combining capabilities of utilities such as MacBinary with newer compression algorithms similar to those used in ZIP. Compared to existing utilities on the Mac, notably PackIt, StuffIt offered 'one step' operation and higher compression ratios. By the fall of 1987 StuffIt had largely replaced PackIt in the Mac world, with many software sites even going so far as to convert existing PackIt archives to save more space.
StuffIt soon became very popular and Aladdin Systems was formed to market it (the last shareware release by Lau was version 1.5.1). They split the product line in two, offering StuffIt Classic in shareware and StuffIt Deluxe as a commercial package. Deluxe added a variety of additional functions, including additional compression methods and integration into the Mac Finder to allow files to be compressed from a 'Magic Menu' without opening StuffIt itself.
StuffIt was upgraded several times, and Lau removed himself from direct development as major upgrades to the 'internal machinery' were rare. Because new features and techniques appeared regularly on the Macintosh platform, the shareware utility Compact Pro emerged as a competitor to StuffIt in the early 1990s.
A major competitive upgrade followed, accompanied by the release of the freeware StuffIt Expander, to make the format more universally readable, as well as the shareware StuffIt Lite which made it easier to produce. Prior to this anyone attempting to use the format needed to buy StuffIt, making Compact Pro more attractive. This move was a success, and Compact Pro subsequently fell out of use.
Several other Mac compression utilities appeared and disappeared during the 1990s, but none became a real threat to StuffIt's dominance. The only ones to see any widespread use were special-purpose 'disk expanders' like DiskDoubler and SuperDisk!, which served a different niche. Apparently as a side-effect, StuffIt once again saw few upgrades. The file format changed in a number of major revisions, leading to incompatible updates. PC-based formats long surpassed StuffIt in terms of compression, notably newer systems like RAR and 7z. These had little impact on the Mac market, as most of these never appeared in an easy-to-use program on the Mac.
With the introduction of Mac OS X, newer Mac software lost their forks and no longer needed anything except the built-in Unix utilities like gzip and tar. Numerous programs 'wrapping' these utilities were distributed, and since these files could be opened on any machine, they were considerably more practical than StuffIt in an era when most data is cross-platform. With the release of OS X Public Beta, Aladdin Systems released StuffIt 6.0 which runs under OS X, with Expander no longer relying on the StuffIt Engine™.
|Internet media type|
|Uniform Type Identifier (UTI)||com.stuffit.archive.sitx|
|Initial release||2002; 17 years ago|
|Type of format||archive file format|
|Container for||files, including resource forks|
Although it was late to market, Aladdin Systems introduced the completely new StuffIt X format in September 2002 with StuffIt Deluxe 7.0 for Macintosh. It was designed to be extendable, support more compression methods, support long file names, and support Unix and Windows file attributes. StuffIt X improves over the original StuffIt format and its descendants by adding multiple compression algorithms such as PPM, and BWT to LZW-type compression. It also added a 'block mode' option and several encryption options. In January 2005, JPEG compression was added as a StuffIt X compression option (see the related 'SIF Format' below).
From the mid-1990s until the 2005 acquisition by Smith Micro Software, coinciding with the release of Mac OS X v10.4 'Tiger,' StuffIt Expander came bundled with the Macintosh operating system.
Although Mac files generally did not use filename extensions, one of StuffIt's primary uses was to allow Mac files to be stored on non-Mac systems where extensions were required.So, StuffIt-compressed files save the resource forks of the Macintosh files inside them, and typically have the extension .sit. Newer (non-backwards compatible) Stuffit X-compressed files carry the file extension .sitx. Encrypted StuffIt archives created with the now-discontinued Private File utility will have .pf extensions. StuffIt-compressed ShrinkWrapdisk images will carry .img or .image extensions. However, a Classic Mac OS version of StuffIt is needed to mount the images or convert them to a newer format readable in macOS.
Smith Micro Software offers free downloads of StuffIt Expander for Mac and Windows, which expands (uncompresses) files compressed using the StuffIt and StuffIt X format, as well as many other compressed, encoded, encrypted and segmented formats. The shareware application DropStuff permits the compressing of files into the StuffIt X format.
The StuffIt and StuffIt X formats remain, unlike some other file compression formats, proprietary, and Smith Micro Software charge license fees for its use in other programs. Given this, few alternative programs support the format.
There was also an 'self-expanding' variant of StuffIt files with a .sea extension that runs as an executable. A utility called unsea exists to turn such an executable into a vanilla sit file.
StuffIt Image Format (SIF)
Early in 2005, a new JPEG compression system was released that regularly obtained compression in the order of 25% (meaning a compressed file size 75% of the original file size) without any further loss of image quality and with the ability to rebuild the original file, not just the original image. (ZIP-like programs typically achieve JPEG compression rates in the order of 1 to 3%. Programs that optimise JPEGs without regard for the original file, only the original image, obtain compression rates from 3 to 10% (depending on the efficiency of the original JPEG). Programs that use the rarely implemented arithmetic coding option available to the JPEG standard typically achieve rates around 12%.)
The new technique was implemented as a StuffIt X format option in their StuffIt Deluxe product. They have also proposed a new image format known as SIF, which simply consists of a single JPEG file compressed using this new technique.
Pending filing of their patent, they retain knowledge of the details of this algorithm as a trade secret.
Duplicate Folding™ is a feature which saves even more space by only keeping one copy of a duplicate file in an archive.
Changes to the Stuffit compression software, claimed by the developer to be upgrades, frequently render previous versions of Stuffit unable to decompress newer archives without first downloading or purchasing the new version. This incompatibility can be inconvenient for work flows where timely execution is of importance. Though users are able to create archives in a legacy format, this functionality is not clearly exposed.
On July 5, 2005, Smith Micro Software announced their acquisition and intention to expand the new JPEG recompression technique to wireless platforms and other file formats. The initial press release and preliminary information saw the first use of the title “StuffIt Wireless.”
macOS includes Archive Utility which is compatible with the open formats ZIP, gzip, and bzip2. In versions since 10.3 (Panther), it now preserves resource forks in the ZIP format, so Stuffit is no longer a requirement for Mac file compression. ZIP is also a de facto standard, making it more widely accepted for archives and sharing.
While StuffIt used to be a standard way of packaging Mac software for download, macOS native compressed disk images (DMG) have largely replaced this practice.
StuffIt might still be used in situations where its specific features are required (archive editing/browsing, better compression, JPEG compression, encryption, old packages). An open source alternative might be The Unarchiver, even if it doesn't support newer StuffIt file formats. Some 3rd-party software, such as the Macintosh Finder replacement Path Finder, use the Stuffit SDK to gain all the features of Stuffit.
- ^Official vendor information about StuffIt for Linux and SolarisArchived 2008-11-16 at the Wayback Machine
- ^Stuffit Archives, explains how to open StuffIt and StuffIt X archives on Linux
- ^'Raymond Lau: StuffIt'. www.raylau.com.
- ^'Archivers of Syllable'. www.angelfire.com.
- ^Gilchrist, Jeff. 'ACT JPEG Compression Test'. www.compression.ca.
- ^'Archived copy'. Archived from the original on 2011-08-31. Retrieved 2011-08-15.CS1 maint: archived copy as title (link)
- ^'StuffIt Deluxe 2009 Keeps Evolving After 20 Years'. TidBITS. 17 September 2008.
- ^'Review: StuffIt Deluxe 2010'. 30 January 2010.
- ^'StuffIt - The Premier Compression Solution Celebrates Its 20th Anniversary with the Launch of StuffIt Deluxe 2009 for the Mac'. www.businesswire.com. 17 September 2008.
- ^'Macworld - News, tips, and reviews from the Apple experts'. Macworld.
- ^'The Unarchiver'.
StuffIt: No encryption; StuffIt X: Partial
The icon represents an internal hard drive within a generic file icon.
|Internet media type|
|Uniform Type Identifier (UTI)|
|Developed by||Apple Inc.|
|Type of format||Disk image|
Apple Disk Image is a disk image format commonly used by the macOS operating system. When opened, an Apple Disk Image is mounted as a volume within the Macintosh Finder.
An Apple Disk Image can be structured according to one of several proprietary disk image formats, including the Universal Disk Image Format (UDIF) and the New Disk Image Format (NDIF). An Apple disk image file's name usually has '.dmg' as its extension.
- 3File format
Apple Disk Image files are published with a MIME type of application/x-apple-diskimage.
Different file systems can be contained inside these disk images, and there is also support for creating hybrid optical media images that contain multiple file systems. Some of the file systems supported include Hierarchical File System (HFS), HFS Plus, File Allocation Table (FAT), ISO9660 and Universal Disk Format (UDF).
Apple Disk Images can be created using utilities bundled with Mac OS X, specifically Disk Copy in Mac OS X v10.2 and earlier and Disk Utility in Mac OS X v10.3 and later. These utilities can also use Apple disk image files as images for burning CDs and DVDs. Disk image files may also be managed via the command line interface using the hdiutil utility.
In Mac OS X v10.2.3, Apple introduced Compressed Disk Images and Internet-Enabled Disk Images for use with the Apple utility Disk Copy, which was later integrated into Disk Utility in 10.3. The Disk Copy application had the ability to display a multi-lingual software license agreement before mounting a disk image. The image will not be mounted unless the user indicates agreement with the license.
An Apple Disk Image allows secure password protection as well as file compression, and hence serves both security and file distribution functions; such a disk image is most commonly used to distribute software over the Internet.
Dmg Mori Site
Apple originally created its disk image formats because the resource fork used by Mac applications could not easily be transferred over mixed networks such as those that make up the Internet. Even as the use of resource forks declined with Mac OS X, disk images remained the standard software distribution format. Disk images allow the distributor to control the Finder's presentation of the window, which is commonly used to instruct the user to copy the application to the correct folder.
A previous version of the format, intended only for floppy disk images, is usually referred to as 'Disk Copy 4.2' format, after the version of the Disk Copy utility that was used to handle these images. A similar format that supported compression of floppy disk images is called DART.
New Disk Image Format (NDIF) was the previous default disk image format in Mac OS 9, and disk images with this format generally have a .img (not to be confused with raw .img disk image files) or .smi file extension. Files with the .smi extension are actually applications that mount an embedded disk image, thus a 'Self Mounting Image', and are intended only for Mac OS 9 and earlier.
Universal Disk Image Format (UDIF) is the native disk image format for Mac OS X. Disk images in this format typically have a .dmg extension.
Apple has not released any documentation on the format, but attempts to reverse engineer parts of the format have been successful. The encrypted layer was reverse engineered in an implementation called VileFault (a spoonerism of FileVault).
Apple disk image files are essentially raw disk images (i.e. contain block data) with some added metadata, optionally with one or two layers applied that provide compression and encryption. In hdiutil these layers are called CUDIFEncoding and CEncryptedEncoding.
UDIF supports ADC (an old proprietary compression format by Apple), zlib, bzip2 (as of Mac OS X v10.4), and LZFSE (as of Mac OS X v10.11) compression internally.
The trailer can be described using the following C structure. All values are big-endian (PowerPC byte ordering)
Here is an explanation:
|Position(in Hex)||Length (in bytes)||Description|
|000||4||Magic bytes ('koly').|
|004||4||File version (current is 4)|
|008||4||The length of this header, in bytes. Should be 512.|
|018||8||Data fork offset (usually 0, beginning of file)|
|020||8||Size of data fork (usually up to the XMLOffset, below)|
|028||8||Resource fork offset, if any|
|030||8||Resource fork length, if any|
|038||4||Segment number. Usually 1, may be 0|
|03C||4||Segment count. Usually 1, may be 0|
|040||16||128-bit GUID identifier of segment|
|050||4||Data fork checksum type|
|054||4||Data fork checksum size|
|058||128||Data fork checksum|
|0D8||8||Offset of XML property list in DMG, from beginning|
|0E0||8||Length of XML property list|
|160||4||Master checksum type|
|164||4||Master checksum size|
|1E8||4||Unknown, commonly 1|
|1EC||8||Size of DMG when expanded, in sectors|
|1F4||12||Reserved bytes (zeroes)|
There are few options available to extract files or mount the proprietary Apple Disk Image format. Some cross-platform conversion utilities are:
- dmg2img was originally written in Perl; however, the Perl version is no longer maintained, and the project was rewritten in C. Currently, without additional tools, the resulting images may be mounted only under Mac OS X and under Linux (provided hfsplus support has been enabled). UDIF ADC-compressed images have been supported since version 1.5.
- DMGEXtractor is written in Java with GUI, and it supports more advanced features of dmg including AES-128 encrypted images but not UDCO images.
- 7-Zip, including the free cross-platform port of its command-line interface, p7zip.
In Windows, most dmg images can be opened using several other programs such as UltraISO and IsoBuster. MacDrive can also mount simple dmg files as drives under windows, but not sparse disk or encrypted dmgs. A free Apple DMG Disk Image Viewer also exists.
In Linux and possibly other Unix flavors, most .dmg files can be burned to CD/DVD using any CD-burner program (using cdrecord directly or a front-end such as K3B or Brasero) or directly mounted to a mountpoint (e.g.
mount -o loop,ro -t hfsplus imagefile.dmg /mnt/mountpoint). darling-dmg is a FUSE module enabling easy DMG file mounting on Linux.
- ^ abcdefg'hdiutil(1) Mac OS X Manual Page'. Archived from the original on 2016-05-14. Retrieved 2016-05-14.
- ^ ab'Mac OS X: Using Disk Copy disk image files'. Archived from the original on 2013-12-19. Retrieved 2013-04-25.
hdiutil(1)– Darwin and macOS General Commands Manual
- ^'Re: Some apps refuse to launch in 10.2.8! (OT, but very important)'. Archived from the original on 2014-01-17.
- ^'Guides'. Apple. Archived from the original on 2009-03-06. Retrieved 2010-10-27.
- ^'DART 1.5.3: Version Change History'. Archived from the original on 2013-12-19. Retrieved 2013-04-25.
- ^'Software Downloads: Formats and Common Error Messages'. Archived from the original on 2010-12-24. Retrieved 2009-05-06.
- ^'VileFault'. 2006-12-29. Archived from the original on 2007-01-09. Retrieved 2010-10-27.
- ^Michael Tsai (2015-10-07). 'LZFSE Disk Images in El Capitan'. Archived from the original on 2017-04-09. Retrieved 2017-04-09.
- ^'Demystifying the DMG File Format'. Archived from the original on 2013-03-17.
- ^'dmg2img'. Archived from the original on 29 November 2010. Retrieved 2010-10-27.
- ^'DMGExtractor'. Archived from the original on 2011-01-02. Retrieved 2011-01-03.
- ^MacDrive Features / Boot Camp / System Requirements /. 'MacDrive Home page'. Mediafour. Archived from the original on 4 October 2010. Retrieved 2010-10-27.
- ^Olivia Dehaviland (2015-03-03). 'Apple DMG Disk Image Viewer'. DataForensics.org. Archived from the original on 2015-04-02. Retrieved 2015-03-10.
- ^'How To Convert DMG To ISO in Windows, Linux & Mac'. Archived from the original on 2010-03-07.
- ^'Convert DMG To ISO using PowerISO'. Archived from the original on 2009-05-02. Retrieved 2009-02-15.
- ^'darling-dmg'. darling-dmg. Retrieved 29 March 2015.
- Apple Developer Connection A Quick Look at PackageMaker and Installer
- O'Reilly Mac DevCenter Tip 16-5. Create a Disk Image from a Directory in the Terminal