svga: add format conversion for legacy formats