Update README.md

This commit is contained in:
Andrzej Wójtowicz 2019-10-14 10:37:13 +02:00 committed by GitHub
parent d8d63a6a7a
commit 9258c9a0f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ Main class to handle an image is **PNM** which inherits [QImage](http://qt-proje
We are interested only in three formats of images: We are interested only in three formats of images:
* **QImage::Format_Mono** - black and white, * **QImage::Format_Mono** - black and white,
* **QImage::Format_Indexed8** - grayscale, * **QImage::Format_Grayscale8** - grayscale,
* **QImage::Format_RGB32** - 3-channels color. * **QImage::Format_RGB32** - 3-channels color.
To get a value of a pixel from a desired channel some functions from [QColor](http://qt-project.org/doc/qt-5.1/qtgui/qcolor.html) will be helpful: To get a value of a pixel from a desired channel some functions from [QColor](http://qt-project.org/doc/qt-5.1/qtgui/qcolor.html) will be helpful: