Giter Site home page Giter Site logo

notion-cover-script's Introduction

notion-cover-script

Script to create a Notion cover from an image.

Usage

You need to have ImageMagick installed.

The image must be on your Desktop and will be saved on it.

  1. Execute the script file with Powershell
  2. Enter the image name: e.g. cover.png
  3. Enter the name for the converted image: e.g. cover-converted.png

Examples

The script works best with medium-sized images that don't have a wide variety of colors in the background. You can change the -scale property in the script to try different results.

Output size: 1500x300

Default Converted
image-default image-converted
image-default image-converted
image-default image-converted
image-default image-converted
Bad Examples
image-default image-converted
image-default image-converted

notion-cover-script's People

Contributors

tpfrois avatar xninety9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xninety9

notion-cover-script's Issues

Can you share screenshots of what the script looks like executed on OSX, please?

Sorry for the noob question, but I'm new to terminal/powerscript and am having issues getting the script to run. I've installed ImageMagick and have the images on my desktop, but am unsure of the text to enter into terminal to run the script

What I currently have is
PS /Users/[username]> /Users/username/Desktop/notion-cover-script-main/notion-script.sh [path to image]

But I get the error "convert: `1500x300' @ error/convert.c/ConvertImageCommand/3339."

When I try
PS /Users/[username]> /Users/username/Desktop/notion-cover-script-main/notion-script.sh [path to image] [name of converted image.jpg]

Nothing happens

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.