Branch: Tag:

2013-07-10

2013-07-10 19:20:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Standards.IIM: Added some minimal documentation.

1:   // Extracts IPTC Information Interchange Model data (aka "IPTC   // headers") from JPEG files created with PhotoShop.   // - // http://www.iptc.org/IIM/ - // +    // Anders Johansson & Henrik Grubbström      #pike __REAL_VERSION__    -  + //! IPTC Information Interchange Model data + //! (aka "IPTC header") extraction. + //! + //! @url{http://www.iptc.org/IIM/@} +    mapping(int:mapping(int:string)) fields =    ([    1: ([ // ENVELOPE RECORD
255:    return res;   }    + //! Get IPTC information from an open file. + //! + //! Supported embedding formats are: + //! + //! @ul + //! @item + //! PhotoShop Document (aka PSD). + //! @item + //! Postscript and Embedded Postscript. + //! @item + //! Joint Picture Experts Group (aka JPEG). + //! @endul + //! + //! @returns + //! Returns a mapping containing any found IPTC IIM data.   mapping get_information(Stdio.File fd)   {    string marker = fd->read(2);