
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
angular-image-resizer-component
Advanced tools
Angular component for resizing images with specified dimensions
An Angular component for resizing images with specified dimensions while maintaining image quality.
bash npm install ng-resizable-image
typescript import { ResizableImageComponent } from 'ng-resizable-image'; @NgModule({ imports: [ ResizableImageComponent ] })
In your template:
<app-resizable-image
[src]="'path/to/image.jpg'"
[widthInches]="15"
[heightInches]="24"
[pxToInch]="12"
></app-resizable-image>
src: string
- Source URL of the imagewidthInches: number
- Desired width in inchesheightInches: number
- Desired height in inchespxToInch: number
- Pixels per inch ratio (default: 12)originalWidth: number
- Original width in inches (default: 15)originalHeight: number
- Original height in inches (default: 24)exportAsSVG()
- Exports the resized image as SVG fileMIT
html:README.md <app-resizable-image [src]="'path/to/image.jpg'" [widthInches]="15" [heightInches]="24" [pxToInch]="12"
src: string
- Source URL of the imagewidthInches: number
- Desired width in inchesheightInches: number
- Desired height in inchespxToInch: number
- Pixels per inch ratio (default: 12)originalWidth: number
- Original width in inches (default: 15)originalHeight: number
- Original height in inches (default: 24)exportAsSVG()
- Exports the resized image as SVG fileMIT
FAQs
Angular component for resizing images with specified dimensions
The npm package angular-image-resizer-component receives a total of 0 weekly downloads. As such, angular-image-resizer-component popularity was classified as not popular.
We found that angular-image-resizer-component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.