try using OpenJpeg encoder