Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

A grayscale png image became color after importing to sage

I used the following code to import a png grayscale image to sage. For some reason, when I display it, it is no longer grayscale (it is yellow/blue scale instead). I would appreciate any help figuring out why. Here is the code: