improve docs, add setFormat and setBufferDefault

This commit is contained in:
Syping 2021-09-16 03:07:11 +02:00
parent af5c571b16
commit 87d61c1c69
5 changed files with 54 additions and 12 deletions

View file

@ -17,7 +17,7 @@ sudo make install
```
##### Optional CMake flags
`-DWITH_EXTRACT=OFF` `-DWITH_GTK_EXAMPLE=ON` `-DWITH_QT_EXAMPLE=ON` `-DBUILD_SHARED=OFF`
`-DWITH_DOCUMENTATION=ON` `-DWITH_EXTRACT=OFF` `-DWITH_GTK_EXAMPLE=ON` `-DWITH_QT_EXAMPLE=ON` `-DBUILD_SHARED=OFF`
#### How to Use libragephoto
@ -31,6 +31,7 @@ std::string title = ragePhoto.title();
RagePhoto::Error error = ragePhoto.error();
RagePhoto::PhotoFormat format = ragePhoto.format();
```
[RagePhoto API](https://libragephoto.syping.de/doc/classRagePhoto.html)
#### How to Use ragephoto-extract