Implemented with calls to ImageMaic (this version doesn't work because of imagemagic troubles - no decode delegate - ?) Tests added.