Description Usage Arguments Value Examples
Title
1 | compression(img_path, b, out_path)
|
img_path |
String , file path of the image |
b |
Integer, desired byte size |
out_path |
String, a valid output path depending on the OS |
String, compressed image path
1 | # compression("../data/image.png", 2L, "..data/comrpessed_image.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.