Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort
A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort
pip install ProcessingImg1
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")
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))
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")
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))
FAQs
A simple Pythonic library for image manipulation and hardware configuration that you can use alongside your project to save you time and effort
We found that ProcessingImg1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.