# Getting Started with CVBpy

**URL:** <https://forum.commonvisionblox.com/t/getting-started-with-cvbpy/241>\
**Category:** Python API\
**Created:** [September 26, 2017, 7:42am UTC](https://forum.commonvisionblox.com/t/getting-started-with-cvbpy/241 "2017-09-26T07:42:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)\
**Post date:** [February 14, 2018, 1:13pm UTC](https://forum.commonvisionblox.com/t/getting-started-with-cvbpy/241/4 "2018-02-14T13:13:57Z")

</div>

# Loading and Saving Images

Let’s start simple load an image from disk.  
Get some properties from it and save it back to a different name and location.

1. Add the main module to your script.

```python
import cvb

```

1. Load an image that comes with a standard installation.  
Note: lower case allows your script to run on Linux as well.

```auto
image = cvb.Image(cvb.install_path() + "/tutorial/Clara.png")

```

1. Get the image dimensions.

```python
print("Image Size: " + str(image.width) + " x " + str(image.height))

```

1. Save it to your current location as BMP.

```python
image.save("Clara.bmp")

```

---

_[View the full topic](https://forum.commonvisionblox.com/t/getting-started-with-cvbpy/241)._
