Search code examples
iphonexcode4ios4

how can open a photoshop PSD file in xcode iphone application


I am trying to develop an ios application.The application needs to open a photoshope psd file . Is any method for this. if anybody know please help me. Thanks in advance.


Solution

  • You can use ImageMagick. They have an iOS compiled binary that you can link to in your application.

    Edit : I would advise against writing a parser yourself considering this :

        // At this point, I'd like to take a moment to speak to you about the Adobe PSD format.
        // PSD is not a good format. PSD is not even a bad format. Calling it such would be an
        // insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
        // worked on this code for several weeks now, my hate for PSD has grown to a raging fire
        // that burns with the fierce passion of a million suns.