code: func (i *Image) viewportSize() (int, int) {
  	if i.screen {
  		return i.width, i.height
  	}
  	return graphics.InternalImageSize(i.width), graphics.InternalImageSize(i.height)
  }
docs: // viewportSize must be called from the main thread.