func NewOverlay(imgRepository imgart.ImageRepository) imgart.Effect {
	return &overlay{
		imgRepository: imgRepository,
		effect: effect{
			id:          "overlay",
			description: "Overlay - Overlay image",
			parameters: imgart.Parameters{
				"position": imgart.Parameter{
					Description: "Position for the overlay image",
					Required:    true,
					Example:     "[1,2]",
					Type:        "array[int]",
				},
				"url": imgart.Parameter{
					Description: "Url for overlay image",
					Required:    true,
					Example:     "http://image.png",
					Type:        "string",
				},
				"opacity": imgart.Parameter{
					Description: "Opacity for overlay image",
					Required:    false,
					Example:     90,
					Type:        "float",
					Default:     100,
				},
			},
		},
	}
}
// NewOverlay creates an Effect that overlay an image with other image
NewOverlay creates an Effect that overlay an image with other image
// NewOverlay creates an Effect that overlay an image with other image
func NewOverlay(imgRepository imgart.ImageRepository) imgart.Effect {
	return &overlay{
		imgRepository: imgRepository,
		effect: effect{
			id:          "overlay",
			description: "Overlay - Overlay image",
			parameters: imgart.Parameters{
				"position": imgart.Parameter{
					Description: "Position for the overlay image",
					Required:    true,
					Example:     "[1,2]",
					Type:        "array[int]",
				},
				"url": imgart.Parameter{
					Description: "Url for overlay image",
					Required:    true,
					Example:     "http://image.png",
					Type:        "string",
				},
				"opacity": imgart.Parameter{
					Description: "Opacity for overlay image",
					Required:    false,
					Example:     90,
					Type:        "float",
					Default:     100,
				},
			},
		},
	}
}
func NewOverlay ( imgRepository imgart . ImageRepository ) imgart . Effect { return & overlay { imgRepository : imgRepository , effect : effect { id : " " , description : " " , parameters : imgart . Parameters { " " : imgart . Parameter { Description : " " , Required : true , Example : " " , Type : " " , } , " " : imgart . Parameter { Description : " " , Required : true , Example : " " , Type : " " , } , " " : imgart . Parameter { Description : " " , Required : false , Example : 90 , Type : " " , Default : 100 , } , } , } , } }
NewOverlay creates an Effect that overlay an image with other image
NewOverlay creates an Effect that overlay an image with other image