pub fn selfie_from_image(image: &DynamicImage)
                         -> Result<DynamicImage, PromptoError> {
  let source = image.to_rgba();
  let mut source = DynamicImage::ImageRgba8(source);
  let _r = add_selfie_to_image(&mut source)?;
  Ok(source)
}
/// Add Prompto to the image.
Add Prompto to the image.
Add Prompto to the image .
pub fn selfie_from_image(image: &DynamicImage)
                         -> Result<DynamicImage, PromptoError> {
  let source = image.to_rgba();
  let mut source = DynamicImage::ImageRgba8(source);
  let _r = add_selfie_to_image(&mut source)?;
  Ok(source)
}
pub fn selfie_from_image ( image : & DynamicImage ) -> Result < DynamicImage , PromptoError > { let source = image . to_rgba ( ) ; let mut source = DynamicImage :: ImageRgba8 ( source ) ; let _r = add_selfie_to_image ( & mut source ) ? ; Ok ( source ) }
Add Prompto to the image.
Add Prompto to the image .
image
&DynamicImage
image
&DynamicImage