How to change output format #16
I'm currently trying to encode a .ppm file lossless and getting the same file (.ppm) back when decoding. Somehow i always end up with a .png file in the end and have no idea how to change that.
I'm currently doing the encoding and decoding in F#.
let image = File.OpenRead @"filepath"
let dec = J2kImage.FromFile(@"filepath2")
Thanks in advance for any help.