S
S
sashabykov992019-04-04 19:48:12
C++ / C#
sashabykov99, 2019-04-04 19:48:12

How to upload a .bmp image, c++ builder?

I have RadStudio 10.3 c++ builder .
You need to make a program that will encrypt the message in the picture
Here is the algorithm:
1. Load the image
2. Determine the number of pixels it consists of
3. Divide the resulting value by 8 and get the maximum size of the text message
3. Enter the encrypted text
4. Determine the size of the text and compare it with the maximum allowable
6. Determine the bitmap advance step
5. Organize two cycles:
- External: traversal of characters
- Internal: traversal of character bits
6. In the cycles, replace image bits with text bits, moving over the image with a given step
7. Save result
8. We write to the file a "key" that will allow us to decrypt the message The
question is how to upload an image?
PS I'm new

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question