SharpImageServiceConfig Type — astro Architecture
Architecture documentation for the SharpImageServiceConfig type/interface in sharp.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 618f9aa1_f4e4_ac65_d418_36133fbbc6fa["SharpImageServiceConfig"] e98aa86d_990d_0999_8b69_e22d93343858["sharp.ts"] 618f9aa1_f4e4_ac65_d418_36133fbbc6fa -->|defined in| e98aa86d_990d_0999_8b69_e22d93343858 style 618f9aa1_f4e4_ac65_d418_36133fbbc6fa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/services/sharp.ts lines 11–21
export interface SharpImageServiceConfig {
/**
* The `limitInputPixels` option passed to Sharp. See https://sharp.pixelplumbing.com/api-constructor for more information
*/
limitInputPixels?: SharpOptions['limitInputPixels'];
/**
* The `kernel` option is passed to resize calls. See https://sharp.pixelplumbing.com/api-resize/ for more information
*/
kernel?: ResizeOptions['kernel'];
}
Defined In
Source
Frequently Asked Questions
What is the SharpImageServiceConfig type?
SharpImageServiceConfig is a type/interface in the astro codebase, defined in packages/astro/src/assets/services/sharp.ts.
Where is SharpImageServiceConfig defined?
SharpImageServiceConfig is defined in packages/astro/src/assets/services/sharp.ts at line 11.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free