The mapgen doesn't read the image directly, it uses a data file called "heightmap.dat, generated by image_convert.py file_input file_output [-f fragmentation]