Cask-File to Rosbag (.bag)

Dear Community,

I am currently recording camera images as a cask file via ISAAC. I need these images for a tool, which needs the camera images as .bag-file.

Is there a way to convert cask files to .bag files?

Thank you.