private void ConvertToJpegCallback(object sender, EventArgs e)
        {
            ShowInitPane();

            var res = new Resizer(new ProcessingCommand(0, 0, Mode.KeepSize, ManipulateAction.ConvertToJpeg, 85));

            res.Progress          += resizer_Progress;
            res.Completed         += resizer_Completed;
            res.BeforeWritingFile += resizer_BeforeWritingFile;
            res.ConvertImages(GetSelectedItemPaths().ToArray());
        }