llj.transform(op, options);
// 3. Save the Image which is already transformed as specified by the
// input transformation in Step 2, along with the Exif header.
try (OutputStream out = new BufferedOutputStream(output)) {
llj.save(out, LLJTran.OPT_WRITE_ALL);
}
// Cleanup
input.close();
llj.freeMemory();