dmg2img

DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file convert tool.

Changelog:
Usage: dmg2img [-s] [-v] [-V] [-d] <input.dmg> [<output.img>]

download latest [win32 binary] [source code] [readme]

dmg2iso

Converts compressed (z-lib) dmg images to iso images.
Provided for historical reasons. You should use DMG2IMG above.

Changelog:
Usage: dmg2iso.pl <filename.dmg> <filename.iso>

download [perl script] [win32 binary] [source code] [license note]
see also [dmx — java port]

makeimg

Makes an emtpy file for disk image. Needs perl.

Usage: makeimg.pl <filename> <size>

Example 1: makeimg.pl disk.img 500MB
Example 2: makeimg.pl disk.img 1024k
Example 3: makeimg.pl disk.img 20000000
(size will be floored to be multiple of 516096)

download [perl script]
vu1tur