Appearance
PeachImage Imaging Plugin (PeachStateTechnologies.Cms.Plugins.Imaging.PeachImage)
Swaps Cofoundry's default image asset encoding/resizing implementation for one backed by the PeachImage library.
What it does
PeachImageDependencyRegistration overrides two of Cofoundry's core image services:
IImageAssetFileService→PeachImageImageAssetFileServiceIResizedImageAssetFileService→PeachImageResizedImageAssetFileService
Both are drop-in replacements — nothing else in a consuming site needs to change to start using them; uploaded and resized image assets are transparently encoded via PeachImage instead of Cofoundry's default encoder.
Installing it
Reference the plugin and call AddCofoundry(...) as normal (see the developer docs overview) — no manual registration is required.
Configuration
Optional. Bound from the Cofoundry:Plugins:PeachImage section — omit it entirely to use the defaults shown below:
jsonc
{
"Cofoundry": {
"Plugins": {
"PeachImage": {
"JpegQuality": 85, // 0–100
"IgnoreMetadata": true // strip EXIF/ICC/etc. metadata on encode
}
}
}
}See PeachImageSettings for the source of truth.