How can I change the resolution (ppi or dpi value) of the generated panorama?
This can be done in the Create Panorama tab, Advanced section. Switch PTGui to Advanced mode to make this section visible. Be aware though that the resolution of an image has nothing to do with image quality, or print quality. The ppi/dpi value of an image file is just a number embedded in the header of the file, suggesting the number of pixels to be printed in one inch. The number of pixels is what really matters: if you need a more detailed output image, increase the width and height of the output image instead (on the Create Panorama tab). Click the ‘Set optimum size’ button in PTGui and choose ‘Maximum size’ to achieve the highest quality. Increasing the output size beyond the optimum size is possible but will only increase the file size, not the amount of visible detail, since the latter is limited by the (angular) resolution of the source images. See also: The Myth of DPI.