kotlin-native-clipboard

MIT License

Stars
9

The Native Screenshot Tool

The utility to convert a clipboard image to a data URL.

Usage

  • Take a screenshot
    • CMD+SHIFT+4 on macOS
  • Run the tool
    • the image is replaced with a data URL string
  • Paste the Data URL into markdown or HTML

Running The Tool

Use the

./gradlew runDebugExecutableMacosX64

Implementation

The application is tested only on macOS. Please PR other OS support!

There are several version of the tool implemented.

  • master --- the basic implementation
  • libpng --- added libpng to ASCII preview the image

Acknowledgement

We used the master branch to setup the project faster

License

MIT.

See the LICENSE file in the repository

Example Data URL