Added support to change to uppercase the content of a format attribute in an imagedata tag.