Socket
Book a DemoInstallSign in
Socket

www.github.com/Tomunek/placeholder.git

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

www.github.com/Tomunek/placeholder.git

Go Modules
Version
v1.0.0
Version published
Created
Source

Placeholder

Simple application for adding watermarks to images

Clean image Watermarked image

Usage

Normal verions:

placeholder [flags] file
  -c    Add watermark in red
  -t    Tilt watermark

Simplified:

placeholder file

Building

Full

To build normal version use branch master. For now, if you want to use your own watermark, replace watermark and watermarkAngled variables with output of the following command

cat your_watermark.png | base64 -w 0

and compile

go build placeholder.go

Simplified

For simplified, checkout branch simplified:

git checkout simplified

This version is good for windows users, as it does not take any parameters and chosen image can just be dragged onto the program executable to watermark it:

GOOS=windows GOARCH=amd64 go build -o placeholder.exe placeholder.go

FAQs

Package last updated on 27 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts