Allow JPEG quality to be specified in PictureTransaction

See the Javadoc comments for more information, including the limitations.