Since version 2.5 python-qrcode allows the direct access of the PIL-functions. (We require version 4 and above). Thus, we can simply call qr_img.convert() without accessing the private member. This refactoring is identical in functionality.
images longer than 1024 pixels will be split into multiple fragments.
This way we can ensure that the packaged code is tested. See https://hynek.me/articles/testing-packaging/ or c62a78c015 + DOC adapt doc to new structure and test doc with travis
c62a78c015