How to extract all .icns sizes without candybar

Does anybody know how to extract every image size from an .icns file? I know candybar can do it. But I was wondering if there was a free alternative. Here's an example i took from panics site of what i want to do. Thanks for the help!

post-82334-1213902803_thumb.jpg

cb-screenshot_3-v2.jpg
cb-screenshot_3-v2.jpg

#503122

You want to extract seperate sizes in seperate .icns files or whatever?

#503129

Preview.app can do it, but its a file by file basis which is not fun.

#503133

Preview.app. Open the icns file, click File > Save As... and choose PNG. Do that for every size in the drawer.

#503147

You can also drag the icons from Preview sidebar to your desktop. The file will be TIF with an Alpha Channel.

#503884

Nice

#504017

how can i extract the candybar under windows i used 7zip or hsfexplorer but it didnt work i get the icontainer file but the other files wich are not stored in the container itself remain mbn files.

or is there a way to use the dmg file directly with an icon tool on windows to view and convert them?

#532752