-
hi |
Beta Was this translation helpful? Give feedback.
Answered by
KelSolaar
Dec 9, 2020
Replies: 1 comment 8 replies
-
Hi @yyuuliang, So assuming you have an image: image = demosaicing_CFA_Bayer_Malvar2004(CFA) It is float64 linear at this stage, so you could either save it as an EXR linear file: colour.write_image(image, 'my_image.exr') or as a PNG file, but this would require non-linear encoding, e.g. sRGB: colour.write_image(colour.cctf_encoding(image), 'my_image.png') |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
KelSolaar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @yyuuliang,
So assuming you have an image:
It is float64 linear at this stage, so you could either save it as an EXR linear file:
or as a PNG file, but this would require non-linear encoding, e.g. sRGB: