Michael Ochmann
425a0f0b66
code quality: made unused switch cases more obvious
2 years ago
Michael Ochmann
4d7a7bfd69
code quality: making all the pixel based renderers `final`
...
as they are only a thin wrapper of `stbi` functions
2 years ago
Michael Ochmann
d3850939cd
code quality: getting rid of `std::vector` of all the renderers
2 years ago
Michael Ochmann
98b1cddd79
code quality: deleted copy & move constructors
2 years ago
Michael Ochmann
576bdf8430
code quality: more code cleanup
...
* removed unnecessary enum class `massivedynamic::Type`
* removed some not needed newlines
* cleaned up error handling by utilizing asserts more
2 years ago
Michael Ochmann
6f3827427b
PixelRenderer: now respecting the specified output size exactly
...
output is now padded by the border to prevent changing the output size
specified by the user. this may result in the QR code not being exactly
in the center. it may be off by 1 pixel.
2 years ago
Michael Ochmann
cfc0d276dc
SVGRenderer: removed redundant `std::stringstream`
2 years ago
Michael Ochmann
2a8e54610b
added man page support
2 years ago
Michael Ochmann
dd45505f21
changed sizing of svgs
2 years ago
Michael Ochmann
7d8092aee6
added more pixel base renderers:
...
* now supporting JPG
* now supporting BMP
2 years ago
Michael Ochmann
0c7c830d5b
minor cleanup
2 years ago
Michael Ochmann
df98a2279e
now exporting files with extension appended
...
user can now specify output filename without extension, because this is
handled by qr internally now
2 years ago
Michael Ochmann
3456e92a40
added border padding back to `massivedynamic::PixelRenderer`
2 years ago
Michael Ochmann
c6bbf4274a
abstracted a generic `PixelRenderer` so we can have more pixel based
...
output formats
2 years ago
Michael Ochmann
12b19fab33
fixed illegal memory accesses
2 years ago
Michael Ochmann
94b17c6fd8
now using floating point values for `SVG` rendering
...
so we can generate really small svgs
2 years ago
Michael Ochmann
d5b121e4e3
initial commit
2 years ago