]> git.sesse.net Git - casparcg/blobdiff - modules/psd/doc.h
added missing files for psd
[casparcg] / modules / psd / doc.h
index 6a936d9e74dd1255f131c096e51b1e1e965a6c15..d382b7193146c233044e1c94da7363782fadd944 100644 (file)
@@ -42,15 +42,34 @@ public:
        {
                return layers_;
        }
-       unsigned long width()
+       unsigned long width() const
        {
                return width_;
        }
-       unsigned long height()
+       unsigned long height() const
        {
                return height_;
        }
 
+       psd::color_mode color_mode() const
+       {
+               return color_mode_;
+       }
+
+       unsigned short color_depth() const
+       {
+               return depth_;
+       }
+       unsigned short channels_count() const
+       {
+               return channels_;
+       }
+       const std::wstring& filename() const
+       {
+               return filename_;
+       }
+
+
        bool parse(const std::wstring& s);
 
 private:
@@ -68,7 +87,7 @@ private:
        unsigned long                           width_;
        unsigned long                           height_;
        unsigned short                          depth_;
-       color_mode                                      color_mode_;
+       psd::color_mode                         color_mode_;
 };
 
 }      //namespace psd