diff options
author | Jaron Swab <jrswab@gmail.com> | 2019-06-15 11:01:05 -0400 |
---|---|---|
committer | Jaron Swab <jrswab@gmail.com> | 2019-06-15 11:01:05 -0400 |
commit | 3ebfb87da26a46ecfa3863e478d9272ab12260b4 (patch) | |
tree | 8cc1e0d39f7de5fc71c81475ebfcc4f1b92a9a7d /debug | |
parent | ae3bb9c7a39202ba462b3b8a0a564804a5517cf4 (diff) |
Scale image message based on the user's text area.
Using the "image" package from the standard library the images loaded by
gomuks now scale to one third the size of the text area. The image data
contains both hight and width while the scaling uses only width the
option to scale by hight is possible if passed into `CalculateBuffer()`.
`ansimage.NewScaledFromReader()` now takes the new variable based off
the size of the buffers' width.
This may resolve issue #92
Diffstat (limited to 'debug')
0 files changed, 0 insertions, 0 deletions