Let's say I have two 1-band images image1 and image2. Is there a difference between

ee.ImageCollection([image1, image2]).mosaic()



1 Answer 1


From a mathematical image-processing perspective, they are the same operation — .mosaic() is just the version that is intended for processing an arbitrary collection, and .blend() is convenient when you only have two images only.

However, their handling of image bands is different: .blend() will replicate a single-band image to match the bands of a multi-band image, but mosaicing a collection requires that all images have the same set of band names.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.