Closed sjayadeep closed 1 year ago
In version 0.0.4 was added TextureSource.fromImage
, it allows easily converting of the processed image back to TextureSource
.
@sjayadeep You can find an example of usage
Thanks. It would be great if it works with the ImageShaderPreview as well.
ImageShaderPreview( texture: image, configurations:[ brightnessConfiguration, contrastConfiguration, .... ]),
Something like this.
Try the 0.0.5 version. You can find PipelineImageShaderPreview
and GroupShaderConfiguration
final texture = await TextureSource.fromAsset('demo.jpeg'); final configuration = BrightnessShaderConfiguration(); configuration.brightness = 0.5; final image = await configuration.export(texture, texture.size);
How to update saturation or any other configuration on top of this?