
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
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.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.