zxing/core
cdcarloschacon 539733e5c9
Promote renderResult method to public (#1801)
This small commit makes public the "renderResult" method of the
"QRCodeWriter" class.

    The reason to promote this method as public is that I'm facing
Business Case where, besides of generating the QR code as a PNG image,
I also need to print information about the QR code itself (specifically,
the QR version). Navigating through the code of zxing library, I noticed
that the com.google.zxing.qrcode.encoder.Encoder allows me to have that
(the QR metadata); however, by invoking that class I only have part of
the equation (the QRCode DTO) ... I'm still needing to generate the
BitMatrix in order to produce the QR image.

    Here, I have two alternatives: either I invoke the Encoder.encode
class by myself and repeat the same logic when invoking the
QRCodeWriter.encode method; or I make the renderResult Public, call the
Encoder.encode and then I proceed to call the QRCodeWriter.renderResult
method with the previous result.
2024-05-01 23:11:39 -05:00
..
src Promote renderResult method to public (#1801) 2024-05-01 23:11:39 -05:00
bnd.bnd Fix #957 - Provide OSGi Metadata in Manifest (#958) 2018-02-16 17:35:41 -06:00
pom.xml [maven-release-plugin] prepare for next development iteration 2024-01-30 18:37:17 -06:00