- Remove inline
style
attribute by @choonkeat - Update
justgook/elm-image
dependency from 4.0.0 to 5.0.0
Use elm/bytes
to encode UTF8 mode.
- Don't set the
width
andheight
of the svg (Thanks @uebayasi!) - Modify
toSvg
andtoSvgWithoutQuietZone
to acceptList (Svg.Attribute msg)
- Fix #9 (Thanks @MartinSStewart!) - Rename
encode
->fromString
- Rename
encodeWith
->fromStringWith
- Rename
moduleColor
->darkColor
- Rename
emptyColor
->lightColor
- Add
version
- Remove
toString
- Add
toMatrix
(Thanks @pravdomil!)
Use https://package.elm-lang.org/packages/justgook/elm-image/latest package to add raster images rendering option.
- Add
toImage
- Add
toImageWithOptions
- Add
ImageOptions
- Add
defaultImageOptions
Remove pipelines from the code because of this issue.
Add toSvgWithoutQuietZone
rendering option (Thanks @ahstro for the idea!)
Add shape-rendering
to svg rendering (Thanks @ahstro!)
Update to 0.19
- Move
QRCode.ECLevel.ECLevel
type toQRCode
- Rename
ECLevel
toErrorCorrection
- Rename
L
toLow
,M
toMedium
,Q
toQuartile
andH
toHigh
ofErrorCorrection
type - Rename
encodeWithECLevel
toencodeWith
- Move
QRCode.Error.Error
type toQRCode
- Remove
toCanvasWithModuleSize
* - Remove
toCanvasWithAbsoluteSize
* - Remove
toBoolList
** - Remove
fromBoolList
**
- Waiting for a
Canvas
package in 0.19 to addtoCanvasWithModuleSize
andtoCanvasWithAbsoluteSize
again.
** Removed toBoolList
and fromBoolList
to avoid invalid QR Codes to be rendered. If one day a decoder is added, the bool list can be validated and these functions can be added again.
Fix issue #4.
Add canvas sizing and utilities.
- Add
toCanvasWithModuleSize
- Add
toCanvasWithAbsoluteSize
- Add
toBoolList
- Add
fromBoolList
Add QRCode.toCanvas
Separate encoding from rendering, add string rendering.
- Add
QRCode.encode
- Add
QRCode.encodeWithECLevel
- Add
QRCode.toString
- Change
QRCode.toSvg
- Change
QRCode.Error.Error
- Remove
QRCode.toSvgWithECLevel
- Add
toSvgWithECLevel
- Expose
ECLevel
Thanks again @joshmh!
Fix bit to byte conversion bug. Thanks @joshmh!
- Refactor encoder to use bitwise operations instead of string manipulation
- Refactor matrix to use bitwise operations instead of string manipulation
- Drop
ParseInt
dependence - Perfomance improvements
Initial release.