GNOME Bugzilla – Bug 310426
Generated psd files do not pass the resolution to Photoshot correctly.
Last modified: 2008-01-15 12:57:58 UTC
Please describe the problem: If one has an image with x and y resolutions of 300 dpi does "save as" and selects "Photoshop image" as the file type. If the resulting psd file is opened in Photoshop, Phoroshop Elements, or preview in OSX, the size will be incorrect and consistent with a resolution of 72 pixels/inch. Steps to reproduce: 1. File->New 2. Select as a template US-letter (300dpi) 3. File->Save as 4. Select "Photoshop image" and store. 5. Open with Photoshop - I tried Photoshop 7.0 and Photoshop Elements 2 6. Image->Resize->Image size and insect the size and resolution. Actual results: The image size was Width = 41.778 inches, Height = 27.778 inches and Resolution = 72 pixels/inch Expected results: Width = 8.500, Height = 11.000, and 300dpi Does this happen every time? Yes Other information:
If you know how the resolution information is stored in PSD or where PS 7.0+ expects it to find, you could have a look into the psd plug-in(s) and try to fix this.
I have added support to the psd_save plugin for saving the image resolution. It is checked in to cvs HEAD. I'm not sure if it will get back ported. While doing this I discoverd a bug with the psd loading plugin where it will miscalculate resolutions specified in px/cm. The fix for that is also checked into cvs.
2006-03-02 Sven Neumann <sven.gimp.org> Merged from HEAD branch (bug #310426): * plug-ins/common/psd.c: fixed bug in resolution loading. * plug-ins/common/psd_save.c: save resolution in PSD file.