Fixed image reference in documentation
diff --git a/docs/index.rst b/docs/index.rst
index b94f56d..e0dbec0 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -18,7 +18,7 @@
 The high-level encoding and decoding functions take a pointer to *pb_msgdesc_t* structure, which describes the fields of a message structure.
 Usually you want these autogenerated from a *.proto* file. The tool script *nanopb_generator.py* accomplishes this.
 
-.. image:: generator_flow.png
+.. image:: generator_flow.svg
 
 So a typical project might include these files: