func (s *StegImage) DoStegEmbed(secretIn string) (err error) {
	err = s.createMutableImage()
	if err != nil {
		log.Error(err)
		return err
	}

	err = s.loadSecret(secretIn)
	if err != nil {
		log.Error(err)
		return err
	}

	err = s.embedSecret()
	if err != nil {
		log.Error(err)
		return err
	}

	return err
}
// DoStegEmbed embeds the given secret into the loaded image
DoStegEmbed embeds the given secret into the loaded image
// DoStegEmbed embeds the given secret into the loaded image
func (s *StegImage) DoStegEmbed(secretIn string) (err error) {
	err = s.createMutableImage()
	if err != nil {
		log.Error(err)
		return err
	}
	err = s.loadSecret(secretIn)
	if err != nil {
		log.Error(err)
		return err
	}
	err = s.embedSecret()
	if err != nil {
		log.Error(err)
		return err
	}
	return err
}
func ( s * StegImage ) DoStegEmbed ( secretIn string ) ( err error ) { err = s . createMutableImage ( ) if err != nil { log . Error ( err ) return err } err = s . loadSecret ( secretIn ) if err != nil { log . Error ( err ) return err } err = s . embedSecret ( ) if err != nil { log . Error ( err ) return err } return err }
DoStegEmbed embeds the given secret into the loaded image
DoStegEmbed embeds the given secret into the loaded image