PNGs are better for screenshots in most cases both for sharing and for working with the images. The PDFs that Mac OS were generating were a PDF wrapper around a raster screenshot. You can configure the screenshot utility to save in PNG, JPEG, PDF, or TIFF. You can also configure it to save the files to a folder like ~\Pictures\Screenshots instead of dumping them on the desktop.