Now:
lang.mixin(new ImageParameters(), {dpi: 96, format: 'PNG32'})
But why not:
new ImageParameters({dpi: 96, format: 'PNG32'})
Please add constructor options to classes such as ImageParameters, FindParameters, etc. Seems like an easy fix. It's literally adding an arg and one line of code to the constructor.