Skip to content

stubendek/trimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trimage

A simple octave/matlab tool for trimming a white backgrounded image. The white background pixels are converted to transparent. Transparency is added to pixels at the edge of the image and the image background linearly.

Usage:

trimage(inputFileName, outputFileName)

Input file must have 3 color channels. The output file will be a .png image with an alpha channel.

Example

Input image

Input Image

Output image:

Output image

(Click to see the difference)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages