Add a README note about building with DQUIRC_MAX_REGIONS

Question about decoding large images has come up several times, let's
document it better.
This commit is contained in:
Alexandre Perrin 2019-10-23 09:37:24 +02:00
parent 026485bdc6
commit 2e8c4ce7bc

View file

@ -59,8 +59,12 @@ additional information on stdout.
Installation
------------
To build the library and associated demos/tests, type `make`. Type
`make install` to install the library, header file and camera demos.
To build the library and associated demos/tests, type `make`. If you need to
decode "large" image files build with `CFLAGS="-DQUIRC_MAX_REGIONS=65534" make`
instead. Note that this will increase the memory usage, it is discouraged for
low resource devices (i.e. embedded).
Type `make install` to install the library, header file and camera demos.
You can specify one or several of the following targets if you don't want, or
are unable to build everything: