Lossless Scaling Frame Generation