An open-source JPEG 2000 codec