title: "imageCompressR Package Manifesto" author: "Sayanti Ghosh,Aditya Sharma,Alden Chen" date: "2019-03-05" output: rmarkdown::html_vignette: toc: true keep_md: true vignette: > %\VignetteIndexEntry{imageCompressR Package Manifesto} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8}
This R package specializes in reducing the size of images. It contains two main functions :crop(), and compress(). The crop() functions reduce the size of an image by reducing the height and width of an image to the size specified by the user. The compress() function reduces the size of an image by reducing the number of bits used in each colour channel of the image. The package could be used by people to reduce the size of images, which could then be uploaded to social media platforms or other websites and applications.
crop(image_path, H, W,out_path)
Output:
compress(image_path, b = 4,out_path)
Output:
image_size(image_path)
"He who gives up [code] safety for [code] speed deserves neither." (via)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.