Honoring Asian Pacific American Heritage Month. See how.

fx screenshot

takes a screenshot and copies it to the host

usage: fx screenshot [--landscape] [--png] [--trim] [-o <screencap_file>]

This command invokes Fuchsia's screencap tool to create a screenshot.
The result is written to screencap.ppm or screencap.png. To write to
another filename, use the -o parameter.
The --trim, --landscape and --png commands require ImageMagick to be
installed.  Unrecognized parameters will be passed to ssh.

-o FILENAME     Write to the given filename instead of screencap.ppm
--png           Create a .png file instead of a .ppm file
--trim          Remove black borders
--landscape     Rotate image ninety degrees

Example usage:
  fx screenshot --trim --png --landscape

screenshot source code