<br />

ImageCollections can be constructed from the following arguments:

<br />

- A string: assumed to be the name of a collection,

- A list of images, or anything that can be used to construct an image.

- A single image.

- A computed object - reinterpreted as a collection.

| Usage | Returns |
|---|---|
| `ee.ImageCollection(args)` | ImageCollection |

| Argument | Type | Details |
|---|---|---|
| `args` | ComputedObject\|Image\|List\[Object\]\|String | The constructor arguments. |

## Examples

### Code Editor (JavaScript)

```javascript
print('Image collection from a string',
      ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED').limit(3));

var img1 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNK');
var img2 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNL');
var img3 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNM');
print('Image collection from a list of images',
      ee.ImageCollection([img1, img2, img3]));

print('Image collection from a single image',
      ee.ImageCollection(img1));
```
Python setup

See the [Python Environment](https://developers.google.com/earth-engine/guides/python_install) page for information on the Python API and using
`geemap` for interactive development.

```python
import ee
import geemap.core as geemap
```

### Colab (Python)

```python
display('Image collection from a string:',
        ee.ImageCollection('COPERNICUS/S2_SR_HARMONIZED').limit(3))

img1 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNK')
img2 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNL')
img3 = ee.Image('COPERNICUS/S2_SR_HARMONIZED/20170328T083601_20170328T084228_T35RNM')
display('Image collection from a list of images:',
        ee.ImageCollection([img1, img2, img3]))

display('Image collection from a single image:',
        ee.ImageCollection(img1))
```