pike.git / lib / modules / _Image_PSD.pmod

version» Context lines:

pike.git/lib/modules/_Image_PSD.pmod:580:       Image.Layer res = Image.lay(decode_layers( data, opts ),    0,0,data->width,data->height );    Image.Image img = res->image();    Image.Image alpha = res->alpha();       return    ([    "image":img,    "alpha":alpha, +  "type":"application/x-photoshop",    ]);   }      //! @decl Image.Image decode(string data)   //! Decodes a PSD image to a single image object.   //!   //! @note   //! Throws upon error in data. To get access to more information like   //! alpha channels and layer names, see @[_decode] and @[__decode].   Image.Image decode( string|mapping what, mapping|void opts )