It turns out `quality` *is* still used when `PictureSourceType.PHOTOLIBRARY` is set.  `quality` is used for JPEG compression.  By default, EncodingType is JPEG, and `quality` is used for that whether a photo is taken with the camera or the image is taken from the library.  So in this case, the data is being compressed.

`quality` is 50 by default, so this is superfluous either way.  However, I wonder if compression should be turned off (ie. set EncodingType to PNG, thereby ignoring `quality` altogether).