Use image format/width/height in Frame