mipmap: rewrite
Transform: constify src image