Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ProcessingImg1

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ProcessingImg1

A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort

  • 0.3
  • PyPI
  • Socket score

Maintainers
1

What is the "ProcessingImg1" library?

A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort


How to Install The Library?

pip install ProcessingImg1


Example One

for the ImageProcessing class Let's take an example : about the function get_list(path) it takes the path of a folder and then returns all the images as a table

from processing import ImageProcessing
result = ImageProcessing.get_list(r"C:\Users\Alaa\Pictures")

Example Two

The first function get_list_sorted(main_path , answer) takes the full path of the target image folder, and takes the user's answer, in order to arrange the images in ascending or descending order. In the entered folder

from processing import ImageProcessing
print(ImageProcessing.get_list_sorted(r"C:\Users\Alaa\Pictures", False))

Example Three

The second function best_image(path_image ) takes the full path of the target image folder and then returns the best image in terms of resolution and it takes only one parameter, which is the full path of the folder containing the images

from processing import ImageProcessing
result = ImageProcessing.best_image(r"C:\Users\Alaa\Pictures")


Example Four

Referring to the example of the convert_image function, the function that convert_image(path , eextension , size) an image from a PNG or other extension into a thumbnail with the ICO file extension

from processing import ImageProcessing
result = ImageProcessing.convert_imagepath="C:\\Alaa.png" , extension=".jpg", size=(50, 50))

Developer information

Developer

"Developer"

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc