Pictures & amp; texts synthesiser, picture

Source: Internet
Author: User

Pictures & texts synthesiser, picture

As shown in the following figure, the software can convert text & picture files and combine text and images to hide things that do not want others to know,

Such as daily privacy and passwords.

Easy language source code:. Version 2
. Supports library xplib
. Assembly window assembly 1
. Subroutine _ button 1 _ clicked
Write to file (edit box 3. content, to the byte set (Read File (edit box 1. Content) + Read File (edit box 2. Content )))

. Subroutine _ start window _ created
XP style (# Green style)

. Subroutine _ Help _ selected
Information Box ("Input Method: If the software is under the directory of the file to be merged, you only need to enter the file name to succeed! Otherwise, you must enter the path and file name of the file .", 0 ,)

. Subroutine _ logout _ selected
Destroy ()

C language source code:
# Include "stdio. h"
Main ()
{
FILE * f_pic, * f_file, * f_finish;
Char ch, pic_name [20], file_name [20], finish_name [20];
Printf ("Welcome to image synthesizer. enter the name of the image and file! \ N ");
Printf ("Image :");
Scanf ("% s", pic_name );
Printf ("file :");
Scanf ("% s", file_name );
Printf ("Synthesis :");
Scanf ("% s", finish_name );
If (! (F_pic = fopen (pic_name, "rb ")))
{
Printf ("cannot open file stike any key exit. \ n ");
Exit (0 );
}
If (! (F_file = fopen (file_name, "rb ")))
{
Printf ("cannot open file stike any key exit. \ n ");
Exit (0 );
}
If (! (F_finish = fopen (finish_name, "wb ")))
{
Printf ("cannot open file stike any key exit. \ n ");
Exit (0 );
}
While (! (Feof (f_pic )))
{
Ch = fgetc (f_pic );
Fputc (ch, f_finish );
}
Fclose (f_pic );
While (! (Feof (f_file )))
{
Ch = fgetc (f_file );
Fputc (ch, f_finish );
}
Fclose (f_pic );
Fclose (f_finish );
Printf ("Congratulations! Merging successful! View the contents in the merging directory. \ N ");
System ("pause ");
}

Doscommand: Press win + R to bring up a dialog box, type cmd in the input box, open the doscommand manager, type copy/B, and enter the image path + file path (preferably RAR) by space) press the Space key to enter the path of the merged image. It is best to press enter to OK.

Image synthesizer purpose: Very evil. It can combine the text format txt and image jpg. How can it be used? Imagine it !!!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.