for instance for jpeg, which does not support transparency, also useful to allow the user to specify this