Skip to content

kickhead13/phresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phresh

Description

'phresh' is an interporetor for the photo editing programming language by the same name.

Installation and Usage

Clone this repository:

$ git clone 'https://github.com/kickhead13/phresh.git'

Compile the interpretor and run example to see what happens :)

$ cd phresh 
$ cargo build --release
$ ./target/release/phresh ./examples/open_and_save_image.phresh

Have fun editing :P

Some fun examples

Fuzzy

img image1 'assets/pfp.jpg'
img image2 'assets/pfp.jpg'
layer image1 image2 0 -10 33
layer image1 image2 0 10 33
save image1 'assets/fuzz.jpg' jpg

Inception

img image1 'assets/pfp.jpg'
downscale image1 image1 0 0 100 2
downscale image1 image1 0 0 100 4
downscale image1 image1 0 0 100 8
save image1 'assets/inception.jpg' jpg

Download from the web

img download 'https://onlinedi.vision/cdn/test/stest.jpeg'
save download 'assets/download.jpg' jpg

About

A programatic photo editor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published