lib/psd/header.rb in psd-1.5.0 vs lib/psd/header.rb in psd-2.0.0

- old
+ new

@@ -55,7 +55,15 @@ # Height of the entire document in pixels. def height rows end + + def rgb? + mode == 3 + end + + def cmyk? + mode == 4 + end end end \ No newline at end of file