aboutsummaryrefslogtreecommitdiff
path: root/matrix/pushrules/rule_array_test.go
diff options
context:
space:
mode:
authorJaron Swab <jrswab@gmail.com>2019-06-15 11:01:05 -0400
committerJaron Swab <jrswab@gmail.com>2019-06-15 11:01:05 -0400
commit3ebfb87da26a46ecfa3863e478d9272ab12260b4 (patch)
tree8cc1e0d39f7de5fc71c81475ebfcc4f1b92a9a7d /matrix/pushrules/rule_array_test.go
parentae3bb9c7a39202ba462b3b8a0a564804a5517cf4 (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 'matrix/pushrules/rule_array_test.go')
0 files changed, 0 insertions, 0 deletions