alex,
thanks for the program, it's great
djvu to image conversion can be done using opensource djvulibre (
http://djvu.sourceforge.net/ ) package, it has a program ddjvu (although as I recall the output was to pbm and tiff only, I hope it's not a problem as ImageMagick can handle those)