Code: Select all
$ nconvert -quiet -overwrite -out jpeg -o stdout path/to/file.png
$ nconvert -quiet -overwrite -out tiff -o stdout path/to/file.png
Code: Select all
$ nconvert -quiet -overwrite -out jxr -o stdout path/to/file.png
Using alpha_mode = 1
Code: Select all
$ nconvert -quiet -overwrite -out jxr -o stdout path/to/file.jpg
$ nconvert -quiet -overwrite -out jxr -o stdout path/to/file.tif