TIF to JPEG2000 using PDFNet SDK?

Q: Is there a way to convert TIF image files (single page) to lossless
JPEG2000 files using the PDFNet API?
If so please advise the best approach.
-----
A: Unfortunately PDFNet does not have a direct TIFF to JPEG2000
conversion. You could load a TIF (using pdftron::PDF::Image::Create
("my.tif")) and then resave it using PNG, JPEG, or TIFF (using
pdftron::PDF::Image::ExportAs...). There is no function to save to an
external JPEG2000, but you could use a JPEG2000 hint to create an
embedded JP2 stream and then extract the compressed JP2 using
image.GetSDFObj().GetRawStream(true).