Jump to content

Can't Open PSD from Apple Photos Extension

Recommended Posts

Hi Affinity team, sorry to bother you with yet another problem.

Short description
When using Affinity Photo as an extension to Apple Photos, PSD files from the Apple Photo's Library cannot be opened

User story
As a user of both Affinity Photo 1.6.6 and Apple Photos 2.0 (3161.4.140) on Mac OS Sierra I'd like to be able to perform iterative edits to developed RAW files larger than about 1 MegaPixels.


Problem 1
Apple Photos seems to apply a limit of 16MB to adjustment data of Photo Editing Extensions, so round-tripping is effectively only possible with raw files up to about 1 Megapixels; larger files will result in the message 

16MB change limit exceeded - document will be flattened

and saving only the JPEG into the Apple Photos Library

Problem 2
Affinity Photo does not allow saving a copy in its native .afphoto file format when editing a file named "Apple Photos Document.afextensiondocument" (the File -> Save As... menu option is greyed out) but it does allow exporting a PSD document in this case.

Attempted work-around
I've tried to work around these limitations by exporting a PSD and reimporting the PSD in Photos.
(.afphoto files can not be imported into Apple Photos unless they are saved as adjustment data by the Photo Editing Extension AND the file size if below 16MB)

Perceived bug
However when trying to edit the PSD using Affinity Photo as Photo Editing Extension the following message is displayed in Affinity Photo:

Failed to open file 
[...]/6LVTQB9699.com.seriflabs.extensions/intermediates/Apple Photos Document.afextensiondocument
The file type is not supported.

Additional information
Testing revealed that Affinity Photo CAN open the file when a .psd extension is appended to the file name.

More testing revealed that the document type contained in .afextensiondocument file can be recognised by the "file" tool (file-5.31 as of macOS Sierra)
- when editing OpenEXR files (can be opened by Affinity Photo)

$ file -b "Apple Photos Document.afextensiondocument"
OpenEXR image data, version 2, storage: scanline, compression: zip, dataWindow: (0 0)-(4944 3274), displayWindow: (0 0)-(4944 3274), lineOrder: increasing y

- when editing PSD files (can not be opened by Affinity Photo)

$ file -b "Apple Photos Document.afextensiondocument"
Adobe Photoshop Image, 4945 x 3275, RGB, 3x 32-bit channels


Edited by whizzrd
add results of file determination

Share this post

Link to post
Share on other sites

Hi whizzrd


Thanks for the beautiful report. I have passed this on to the development team to look into. As a side note should you move on to high sierra, this does seem to work with their new edit in function on the right click menu



Serif Europe Ltd - Check the latest news at www.affinity.serif.com

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.