'File {} will be re-wrote if present...'.format( stego.get_out_file())) print( '{}>>> Press ^C if you want to cancel the operation.{}'.format( Colors.WARNING.value, Colors.DEFAULT.value)) SystemMessages.basic_warning( 'You can write a max of {} character on this photo!\n\n'. format(stego.get_max_char())) text = input("[INSERT] Text you want to insert on photo: ") try: if not text: raise TooShortTextError text = Steganography.sanitize_text(text) + '\0' if len(text) > (stego.get_max_char() + 1): raise TooLongTextError except TooLongTextError: SystemMessages.error('Too long text for this file!') except TooShortTextError: SystemMessages.error('At least a character is required!') print('\n') meta_data = PrettyMessage() meta_data_printer = threading.Thread(target=meta_data.message, args=("Encoding META-DATA...",