Convert current frame to appropriate format