diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-24 07:49:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-24 07:49:56 +0400 |
commit | 734a4aa428da5c4a3e05eddbb643c0d26df3e69d (patch) | |
tree | 032de0df22bb1e89c6ecb306762ef8558884eed1 /source/blender/imbuf/IMB_imbuf.h | |
parent | fc95ebbc556426b072fc41435bb76cadb16a56df (diff) |
fix [#27746] Black and White Render doesn't work and/or Saves as a Blank screen
convert to grayscale when saving renders rather then only writing the red channel.
Diffstat (limited to 'source/blender/imbuf/IMB_imbuf.h')
-rw-r--r-- | source/blender/imbuf/IMB_imbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/imbuf/IMB_imbuf.h b/source/blender/imbuf/IMB_imbuf.h index e9592fdc164..ff01e3a8a1e 100644 --- a/source/blender/imbuf/IMB_imbuf.h +++ b/source/blender/imbuf/IMB_imbuf.h @@ -338,6 +338,7 @@ void IMB_float_from_rect_simple(struct ImBuf *ibuf); /* no profile conversion */ /* note, check that the conversion exists, only some are supported */ void IMB_convert_profile(struct ImBuf *ibuf, int profile); float *IMB_float_profile_ensure(struct ImBuf *ibuf, int profile, int *alloc); +void IMB_color_to_bw(struct ImBuf *ibuf); /** * Change the ordering of the color bytes pointed to by rect from |