pow for int images
(#419)