Skip to content

Chase-William/ImageSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageSplitter

A simple cross-platform image splitting library. Currently you can only split images into a number of equal sized rows and columns.

Dependencies:

Example Usage

// Create disposible imagegrid
using var splitter = new ImageGrid("yourInputFileNameHere", rows: 4, columns: 4);
// Save all split parts to file with the name <"saveName"-r<row>-c<column>>
splitter.SaveBitmaps("saveName", SkiaSharp.SKEncodedImageFormat.Png, quality: 55);

The ImageGrid class implements the IDisposible interface because it contains a 2d array of all the smaller bmp's which are extracted from the original. These bitmaps themselves implement the IDisposible interface and must be clean-up.

About

A simple cross-platform image splitting library. Currently you can only split images into a number of equal sized rows and columns.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages