Skip to content

jigsaw maker creates jigsaw pieces by given image.

License

Notifications You must be signed in to change notification settings

cemasma/jigsaw_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jigsaw_maker

jigsaw maker project creates jigsaw pieces by given image.

Usage

  1. Build the application
cargo build --release

You can now find the executable of the application inside the target/release folder. Thereby, you can set its directory to your PATH or you can run it locally.

  1. Run the application.
jigsaw_maker --file sample.jpg

jigsaw_maker will create 4x4 jigsaw pieces by given picture and save those pieces into out directory.

Commands

Command Value Description
-f, --file String File path option, required.
--column Integer Column count option, default value is 4
--row Integer Row count option, default value is 4
-h, --help Print help

Example

Sample image

0 0 1 0 2 0 3 0
0 1 1 1 2 1 3 1
0 2 1 2 2 2 3 2
0 3 1 3 2 3 3 3

About

jigsaw maker creates jigsaw pieces by given image.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages