Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Jun 3, 2021
1 parent 60967cf commit 6622b18
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ img2 = clipboard_img()
img == img2
```

## Sample screenshots (old)
![](docs/src/img/clipboard_img.gif)
## Sample screenshots
### Paste an image
![](docs/src/img/screenshot_paste.gif)

![](docs/src/img/clipboard_img2.gif)
### Copy an image
![](docs/src/img/screenshot_copy.gif)
33 changes: 32 additions & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,38 @@ CurrentModule = ImageClipboard

# ImageClipboard

Documentation for [ImageClipboard](https://github.com/hyrodium/ImageClipboard.jl).
Copy & Paste images with Julia

## Install
```
(@v1.6) pkg> add https://github.com/hyrodium/ImageClipboard.jl
```

## Usage
```julia
using Images, ImageClipboard

# Create random image
img = rand(RGB{N0f8}, 100, 200)

# Copy to clipboard
clipboard_img(img)

# Paste image from clipboard
img2 = clipboard_img()

# These are the same images
img == img2
```

## Sample screenshots
### Paste an image
![](img/screenshot_paste.gif)

### Copy an image
![](img/screenshot_copy.gif)

## docstrings

```@index
```
Expand Down

0 comments on commit 6622b18

Please sign in to comment.