resize to a fixed pixel size & ratio, no scaling