I am using the convert program to run image files through a pipe line:
Code: Select all
previous_stage_in_pipeline | convert -filteroptions | next_stage_in_pipline
However, in all the examples I can find, the file formats are implied by the filename, and in my case I am not handling any filenames, just the data. How can I force the output file format to something specific? For example, how do I force the output to be a JPG if there is something like a PNG on the input side of the pipeline?
... mobu