- Create a new image in which all pixels are set to the same specified value.
newImage = ee.Image(value)
newImage = ee.Image.constant(value)
- newImage is the new image.
- value is the specified value.
var FirstIMAGE = ee.Image( 1 );
var SecondIMAGE = ee.Image.constant( 2 );
print( FirstIMAGE.getInfo( ), SecondIMAGE.getInfo( ) );