Skip to content

a jsr.io typescript module used to edit images with a skeleton logo system plus border , can be used with all runtimes that support JSR

Notifications You must be signed in to change notification settings

aria-blip/ImagePainter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImagePainter

ImagePainter is a simple and efficient tool for painting images. Built with Deno, it provides a variety of features to enhance your image editing experience.

Features

  • Easy-to-use
  • Support for multiple image formats
  • Edit images with SkeletStyle with arrays example : [ [0,0,0,0,0,0], [1,1,1,1,1,1], [0,0,1,1,0,0], [0,0,0,0,0,0], ]
  • borders you can change the border Width and also weather you want border on top ,buttom ,left or right

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code follows the project's coding standards and includes appropriate tests.

License

This project is licensed under the MIT License.

EXAMPLES: make sure to allow read and write acess if u use deno deno run --allow-read --allow-write your_script.ts

// Create an instance of ImagePainter
const painter = new ImagePainter();

// Example 1: Draw a border on a single image
await painter.drawBorderonImage("sample.jpg", { size: 10, top: true, bottom: true, left: true, right: true });

// Example 2: Process all images in a folder
await painter.drawonImages("./images", [
  [1, 0, 1],  // A simple 3x3 mask for testing (1 = paint, 0 = leave)
  [0, 1, 0],
  [1, 0, 1],
]);

// Example 3: Generate skeleton info for an image (prints to console)
const skeletonData = painter.getSkeletInfo("sample.jpg");
console.log(skeletonData);

About

a jsr.io typescript module used to edit images with a skeleton logo system plus border , can be used with all runtimes that support JSR

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published