Replies: 1 comment 4 replies
-
That behavior is as designed -- encoder options do not affect the codec selection, because they may be in conflict. For example, if you supply In the absence of any call to If the codec options you supply happen to match the encoder chosen, they will be used. In fact, if the options supplied match the shape of the options for the chosen codec, they will also be used. e.g. |
Beta Was this translation helpful? Give feedback.
-
Given some image.. and EncoderOptions set to Webp type.. The output stream is not encoded correctly unless I manually call TrySetEncoderFormat.. (where I was under the impression this should be set based on the EncoderOptions)
If I output to a file path instead of a stream it sets the encoder correctly (i believe because of this line)
Beta Was this translation helpful? Give feedback.
All reactions