Giter Club home page Giter Club logo

mattermost-plugin-watermark's People

Contributors

hanzei avatar scottleedavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mattermost-plugin-watermark's Issues

Unit test failing

auyer/steganography#5

    --- FAIL: TestFileWillBeUpload/PNG_watermark (5.68s)
        plugin_test.go:78: 
                Error Trace:    plugin_test.go:78
                Error:          Not equal: 
                                expected: ""
                                actual  : "This is an image that has been uploaded to Mattermost"
                                
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1 +1 @@
                                -
                                +This is an image that has been uploaded to Mattermost
                Test:           TestFileWillBeUpload/PNG_watermark
FAIL

Update readme doc on Encode usage

Looking on my editor and source code, the third argument is no longer a string by a []byte.

Screen Shot 2019-09-06 at 8 13 47 PM

func Encode(writeBuffer *bytes.Buffer, pictureInputFile image.Image, message []byte)

Document/Implement variables to use in Watermark Text

Dont know if this feature is already in or not, but it would be usefull to be able to add variables to the embedded message.

  • Uploader user
  • Upload time
  • Channel
  • Downloader user
  • Download time

I belive this usage is what was in mind in the first place but i cannot find whether its supported or not.

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.