
Security News
CISA Kills Off RSS Feeds for KEVs and Cyber Alerts
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
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 5 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.
Security News
CISA is discontinuing official RSS support for KEV and cybersecurity alerts, shifting updates to email and social media, disrupting automation workflows.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.