BitmapDiskCache: made format & quality configurable.