Skip to content

katzEco/dethz-mark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cam-mark

npm NPM Visitors
This is an watermark generator for a bunch of image with a box of theme that you can fully customize!

This package has got inspiration from kana2011th/exifmark. If you love python, don't forget to check this repository!

Table of Content


Usage

Installation

For installation you can use 2 ways

  1. Cloning this Repository and use global installation like this
git clone https://github.com/dethMastery/canvas-watermark.git

and then

cd canvas-watermark
yarn global add .
  1. Installing through npmjs
yarn global add d-mark-it

How to use this tool?

Just run like this

d-mark-it <Folder Path> -t <Album Title>

And now see the result in

<Folder Path>/marked

Configuration

For configuration part. I used JSON file that can easily help to config this frame. Don't worry if you install this package and don't see config file try to run once or add dMark.config.json to your user root folder and add this box of code to your file.

{
  "theme": "frame",
  "colors": {
    "backgroundColor": "#2e2f2f",
    "titleColor": "whitesmoke",
    "modelColor": "whitesmoke",
    "settingColor": "whitesmoke",
    "watermarkColors": {
      "line1": "whitesmoke",
      "line2": "#fe6e6f"
    }
  },
  "fonts": {
    "titleFont": "Sarabun",
    "modelFont": "Sarabun",
    "settingsFont": "Sarabun",
    "waterMarkFonts": {
      "line1": "Sarabun",
      "line2": "Sarabun"
    }
  },
  "watermark": {
    "line1": "dethz",
    "line2": "2018"
  }
}

It's okay if you want to change anything but making sure to read theme name in next section and some of this reminder :)

  • in colors section must be in HEX, html color format or rgba
  • before changing fonts in fonts section PLEASE install font in your computer first and please making sure that font name is same to which is show in your font family

Frame Theme name

  1. frame

    frame

    Reminder:

    • This style is really up to your color style But not really flexible for someone
    • This style Really use all of config in config file and yes please fill it every form! (- w -)

  2. minimal

    minimal

    Reminder:

    • Background of This style Should be in 'rgba' and set 'alpha' below 0.6 (In example picture, Alpha value is 0.4 [ rgba(0, 0, 0, 0.4) ])

  3. detailed

    detailed

    Reminder:

    • background config doesn't work here :x
    • In Watermark Part, color that used in this part is only color in
      watermarkColors -> line1
    • Don't forgot to check your color before publish all of your pictures :)

  4. detailed-frame

    detailed-frame

    Reminder:

    • background config doesn't work here :x
    • In Watermark Part, color that used in this part is only color in
      watermarkColors -> line1
    • Background of This style Should be in 'rgba' and set 'alpha' below 0.6 (In example picture, Alpha value is 0.4 [ rgba(0, 0, 0, 0.4) ])

made with 🤍 by Suphakit P.

About

the fork for the one that i used myself

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%