For archiving, use system provided tar located in /usr/bin/tar which understands resource forks and HFS meta-data.
Using ditto, pay attention to following options:
--rsrcstores the resource forks and HFS meta-data with files side by side, while--sequesterRsrcstores them in__MACOSXdirectory. If you want to share with non-mac user, use the--norsrcoption.--keepParentkeeps the parent folder as root directory.
image file may contain a resource fork which makes larger. (run
ls -l filename/..namedfork/rsrcto find out and useRezunderusr/bin/Rezto mess around with it)