I want to convert a png-image to a jpg image in imagemagick.
Usually I would use this command:
convert image.png image.jpg
This works since imagemagick determins the output format by looking at the file extension '.jpg'. Is there any commandline option for imagemagick to override this behaviour?
I would like to use something like this
convert image.png -outputformat jpg image.data
It is important for my application, that no *.jpg file is ever created in the process, so I can't "mv" it afterwards either!