Program ASP, use BlueIdea version verification code to generate components
The above picture is a traditional verification code rendering diagram that directly uses components
The file composition of the verification code component. There are only three files in this component, which are:
1. Responsible for generating and outputting verification codes 1309 byte.
2. It is the 54byte BMP header
3. Numbers 0~9 10X100 vertical row RGB array data 3200 byte
If you want to make your own style verification code, just modify the file
Step 1: Open the drawing program and create a 10*100-size BMP format file:
From top to bottom, every 10 pixels is one unit, and the ten numbers 0-9 are drawn respectively (of course, it is easier to use PHOTOSHOP). When drawing, you can add some unique things, such as adding gradient background and texture. After drawing, this effect will be:
After the image drawing is completed, save the file. Note that you should select the image file stored as a 24-bit bitmap format BMP.
The file produced in this way cannot be used directly, because the first 54Byte content is already in the file, and we need to remove it.
Use Hedit to open the image you just saved (of course, as long as you can edit the binary file editor):
Select the blue part in the picture and press the delete key on the keyboard:
If your prompt is to delete 54 bytes as shown in the figure above, click Confirm. If your prompt is not 54 bytes, please re-select and delete it.
After deletion is complete, save the file and rename it
The entire modification process is over. You can directly use your personalized version verification code component, and the usage method remains unchanged.
Effect after completion:
Download the BlueIdea version verification code generation component:Verification code generation component
The above picture is a traditional verification code rendering diagram that directly uses components
The file composition of the verification code component. There are only three files in this component, which are:
1. Responsible for generating and outputting verification codes 1309 byte.
2. It is the 54byte BMP header
3. Numbers 0~9 10X100 vertical row RGB array data 3200 byte
If you want to make your own style verification code, just modify the file
Step 1: Open the drawing program and create a 10*100-size BMP format file:
From top to bottom, every 10 pixels is one unit, and the ten numbers 0-9 are drawn respectively (of course, it is easier to use PHOTOSHOP). When drawing, you can add some unique things, such as adding gradient background and texture. After drawing, this effect will be:
After the image drawing is completed, save the file. Note that you should select the image file stored as a 24-bit bitmap format BMP.
The file produced in this way cannot be used directly, because the first 54Byte content is already in the file, and we need to remove it.
Use Hedit to open the image you just saved (of course, as long as you can edit the binary file editor):
Select the blue part in the picture and press the delete key on the keyboard:
If your prompt is to delete 54 bytes as shown in the figure above, click Confirm. If your prompt is not 54 bytes, please re-select and delete it.
After deletion is complete, save the file and rename it
The entire modification process is over. You can directly use your personalized version verification code component, and the usage method remains unchanged.
Effect after completion:
Download the BlueIdea version verification code generation component:Verification code generation component