Skip to content

ppm image (de)compressor originally written in C, ported to JS

Notifications You must be signed in to change notification settings

yihui-hu/arith-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arith

arith_cover

Background

arith began as a CLI image compressor / decompressor that my friend Toby and I built in C1 for a college class.

I subsequently ported the C code over to JavaScript so it could run on the web!

About arith

arith takes in a .ppm image file and compresses it by as much as 60%. It also supports decompressing arith-compressed .ppm images.

Understandably, ppm is not a common format for storing images, but there are many tools online that can convert jpg / png images into ppm files, such as this one that is also linked on the website, so feel free to play around with your own images!

Footnotes

  1. Because this project contains source code adapted from coursework, src/js is symbolic link to a private repo containing the actual JavaScript files. If you'd like to see the source code, please contact me via yyihui.hu (at) gmail (dot) com.

About

ppm image (de)compressor originally written in C, ported to JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published