use std::fs;
use anyhow::{Result, Context as _, bail};
use clap::clap_app;
use turbojpeg::{Transform, TransformOp, Transformer};
fn main() -> Result<()> {
let args = clap_app!(jpegtran =>
(about: "Losslessly transform a JPEG image")
(@arg INPUT: "Input image file")
(@arg OUTPUT: