finished image_process filter
This commit is contained in:
@@ -46,6 +46,18 @@ type MarkdownConfig struct {
|
||||
ChromaStyle *string `yaml:"ChromaStyle"`
|
||||
}
|
||||
|
||||
// ImagingConfig defines parameter for imaging processing
|
||||
type ImagingConfig struct {
|
||||
Width int `yaml:"Width"`
|
||||
Height int `yaml:"Height"`
|
||||
Process string `yaml:"Process"`
|
||||
Anchor string `yaml:"Anchor"`
|
||||
Quality int `yaml:"Quality"`
|
||||
|
||||
Filename string `yaml:"-"`
|
||||
Format string `yaml:"-"`
|
||||
}
|
||||
|
||||
// PathConfig of subdir
|
||||
type PathConfig struct {
|
||||
This ThisPathConfig `yaml:"This"`
|
||||
@@ -55,6 +67,7 @@ type PathConfig struct {
|
||||
Path *DirnameConfig `yaml:"Path"`
|
||||
Filename *FilenameConfig `yaml:"Filename"`
|
||||
Markdown *MarkdownConfig `yaml:"Markdown"`
|
||||
Imaging *ImagingConfig `yaml:"Imaging"`
|
||||
|
||||
Data map[string]interface{} `yaml:"Data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user