Editor Chains plugins has a
Run Command Action that allows conversion of images inside books using command line tools. You need to install ImageMagick. Check details in this
post.
Note: You can perform the action on multiple books in your library if you install the
Action Chains plugin alongside editor chains. Check this
post.